/* prettier-ignore-start */
/* tslint:disable */
/* eslint-disable */

/* 该文件由 yapi-to-typescript 自动生成，请勿直接修改！！！ */

// @ts-ignore
// prettier-ignore
import { Method, RequestBodyType, ResponseBodyType, RequestConfig, RequestFunctionRestArgs, FileData, prepare } from 'yapi-to-typescript'
// @ts-ignore
import request from '../utils/request'

// makeRequest
function makeRequestRequired<TReqeustData, TResponseData, TRequestConfig extends RequestConfig>(
  requestConfig: TRequestConfig,
) {
  const req = function (requestData: TReqeustData, ...args: RequestFunctionRestArgs<typeof request>) {
    return request<TResponseData>(prepare(requestConfig, requestData), ...args)
  }
  req.requestConfig = requestConfig
  return req
}
function makeRequestOptional<TReqeustData, TResponseData, TRequestConfig extends RequestConfig>(
  requestConfig: TRequestConfig,
) {
  const req = function (requestData?: TReqeustData, ...args: RequestFunctionRestArgs<typeof request>) {
    return request<TResponseData>(prepare(requestConfig, requestData), ...args)
  }
  req.requestConfig = requestConfig
  return req
}
function makeRequest<TReqeustData, TResponseData, TRequestConfig extends RequestConfig>(requestConfig: TRequestConfig) {
  const optional = makeRequestOptional<TReqeustData, TResponseData, TRequestConfig>(requestConfig)
  const required = makeRequestRequired<TReqeustData, TResponseData, TRequestConfig>(requestConfig)
  return (requestConfig.requestDataOptional ? optional : required) as TRequestConfig['requestDataOptional'] extends true
    ? typeof optional
    : typeof required
}

// Request
export type Request<
  TReqeustData,
  TRequestConfig extends RequestConfig,
  TRequestResult,
> = (TRequestConfig['requestDataOptional'] extends true
  ? (requestData?: TReqeustData, ...args: RequestFunctionRestArgs<typeof request>) => TRequestResult
  : (requestData: TReqeustData, ...args: RequestFunctionRestArgs<typeof request>) => TRequestResult) & {
  requestConfig: TRequestConfig
}

const mockUrl_0_1_0_1 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_1 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_1 = '' as any
const dataKey_0_1_0_1 = 'data' as any

/**
 * 接口 [新增特征表↗](https://yapi.mcisaas.com/project/371/interface/api/45259) 的 **请求类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `POST /feature/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
/**
 * 特征表-传输对象
 */
export interface IPostFeatureAddReq {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 特征集合Id
   */
  setId?: string
  /**
   * 指标名称
   */
  indexName?: string
  /**
   * 指标中文名
   */
  indexLabel?: string
  /**
   * 1：公式，2：udf函数(系统内置函数也是UDF的一种)
   */
  featureType?: 'VARIABLE' | 'UDF'
  /**
   * 计算表达式，当calc_type=1时不为空
   */
  callExpression?: string
  /**
   * 使用的函数名称
   */
  udfName?: string
  /**
   * udf调用字段json数组，但calc_type为1时，为空
   */
  udfFields?: string
  /**
   * 场景分类id
   */
  fieldType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST'
}

/**
 * 接口 [新增特征表↗](https://yapi.mcisaas.com/project/371/interface/api/45259) 的 **返回类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `POST /feature/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
export interface IPostFeatureAddRes {}

/**
 * 接口 [新增特征表↗](https://yapi.mcisaas.com/project/371/interface/api/45259) 的 **请求配置的类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `POST /feature/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
type PostFeatureAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/feature/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增特征表↗](https://yapi.mcisaas.com/project/371/interface/api/45259) 的 **请求配置**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `POST /feature/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
const postFeatureAddRequestConfig: PostFeatureAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_1,
  devUrl: devUrl_0_1_0_1,
  prodUrl: prodUrl_0_1_0_1,
  path: '/feature/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_1,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postFeatureAdd',
}

/**
 * 接口 [新增特征表↗](https://yapi.mcisaas.com/project/371/interface/api/45259) 的 **请求函数**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `POST /feature/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
export const postFeatureAdd = makeRequest<IPostFeatureAddReq, IPostFeatureAddRes, PostFeatureAddRequestConfig>(
  postFeatureAddRequestConfig,
)

/**
 * 接口 [特征列表↗](https://yapi.mcisaas.com/project/371/interface/api/45560) 的 **请求类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/functions`
 * @更新时间 `2024-05-29 16:46:08`
 */
export interface IGetFeatureFunctionsReq {}

/**
 * 接口 [特征列表↗](https://yapi.mcisaas.com/project/371/interface/api/45560) 的 **返回类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/functions`
 * @更新时间 `2024-05-29 16:46:08`
 */
export type IGetFeatureFunctionsRes = {
  /**
   * 方法key
   */
  key?: string
  /**
   * 方法描述
   */
  desc?: string
  /**
   * 参数列表
   */
  params?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}[]

/**
 * 接口 [特征列表↗](https://yapi.mcisaas.com/project/371/interface/api/45560) 的 **请求配置的类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/functions`
 * @更新时间 `2024-05-29 16:46:08`
 */
type GetFeatureFunctionsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/feature/functions',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [特征列表↗](https://yapi.mcisaas.com/project/371/interface/api/45560) 的 **请求配置**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/functions`
 * @更新时间 `2024-05-29 16:46:08`
 */
const getFeatureFunctionsRequestConfig: GetFeatureFunctionsRequestConfig = {
  mockUrl: mockUrl_0_1_0_1,
  devUrl: devUrl_0_1_0_1,
  prodUrl: prodUrl_0_1_0_1,
  path: '/feature/functions',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_1,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFeatureFunctions',
}

/**
 * 接口 [特征列表↗](https://yapi.mcisaas.com/project/371/interface/api/45560) 的 **请求函数**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/functions`
 * @更新时间 `2024-05-29 16:46:08`
 */
export const getFeatureFunctions = makeRequest<
  IGetFeatureFunctionsReq,
  IGetFeatureFunctionsRes,
  GetFeatureFunctionsRequestConfig
>(getFeatureFunctionsRequestConfig)

/**
 * 接口 [表达式支持的函数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50509) 的 **请求类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/expr-funcs`
 * @更新时间 `2024-05-29 16:46:26`
 */
export interface IGetFeatureExprFuncsReq {}

/**
 * 接口 [表达式支持的函数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50509) 的 **返回类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/expr-funcs`
 * @更新时间 `2024-05-29 16:46:26`
 */
export type IGetFeatureExprFuncsRes = string[]

/**
 * 接口 [表达式支持的函数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50509) 的 **请求配置的类型**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/expr-funcs`
 * @更新时间 `2024-05-29 16:46:26`
 */
type GetFeatureExprFuncsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/feature/expr-funcs',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [表达式支持的函数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50509) 的 **请求配置**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/expr-funcs`
 * @更新时间 `2024-05-29 16:46:26`
 */
const getFeatureExprFuncsRequestConfig: GetFeatureExprFuncsRequestConfig = {
  mockUrl: mockUrl_0_1_0_1,
  devUrl: devUrl_0_1_0_1,
  prodUrl: prodUrl_0_1_0_1,
  path: '/feature/expr-funcs',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_1,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFeatureExprFuncs',
}

/**
 * 接口 [表达式支持的函数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50509) 的 **请求函数**
 *
 * @分类 [特征表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6404)
 * @标签 `特征表`
 * @请求头 `GET /feature/expr-funcs`
 * @更新时间 `2024-05-29 16:46:26`
 */
export const getFeatureExprFuncs = makeRequest<
  IGetFeatureExprFuncsReq,
  IGetFeatureExprFuncsRes,
  GetFeatureExprFuncsRequestConfig
>(getFeatureExprFuncsRequestConfig)

const mockUrl_0_1_0_2 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_2 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_2 = '' as any
const dataKey_0_1_0_2 = 'data' as any

/**
 * 接口 [新增决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45266) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
/**
 * 决策流-传输对象
 */
export interface IPostDecisionFlowAddReq {
  /**
   * 入参变量列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
  /**
   * 决策流名称
   */
  flowName: string
  /**
   * 决策流说明
   */
  flowDesc?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
}

/**
 * 接口 [新增决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45266) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
/**
 * 决策流-传输对象
 */
export interface IPostDecisionFlowAddRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 版本Id
   */
  decisionId?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 版本号
   */
  versionNo?: string
}

/**
 * 接口 [新增决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45266) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
type PostDecisionFlowAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45266) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
const postDecisionFlowAddRequestConfig: PostDecisionFlowAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowAdd',
}

/**
 * 接口 [新增决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45266) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
export const postDecisionFlowAdd = makeRequest<
  IPostDecisionFlowAddReq,
  IPostDecisionFlowAddRes,
  PostDecisionFlowAddRequestConfig
>(postDecisionFlowAddRequestConfig)

/**
 * 接口 [新增决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45406) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/addGraph`
 * @更新时间 `2024-05-29 16:46:03`
 */
export interface IPostDecisionFlowAddGraphReq {
  /**
   * 决策流Id
   */
  flowId?: string
  /**
   * 图JSON字符串，透传，作为前端回显使用
   */
  graph?: string
  /**
   * 是否有效？0：代表临时保存，保存后还不能执行，因为没有校验，1：有效，代表提交，会进行校验
   */
  valid?: number
  /**
   * 决策节点列表
   */
  nodes: {
    /**
     * 前端节点ID
     */
    nodeId?: string
    /**
     * 节点名称
     */
    nodeName?: string
    /**
     * 见NodeType字典接口
     */
    nodeType?:
      | 'START'
      | 'END'
      | 'BRANCH'
      | 'DATA_LOAD'
      | 'DATA_AGG'
      | 'FEATURE'
      | 'MODEL'
      | 'RULE'
      | 'MANUAL'
      | 'DATA_MODIFY'
    /**
     * 私有变量列表
     */
    variables?: {
      /**
       * 字段名称
       */
      varName: string
      /**
       * 字段中文名
       */
      varLabel: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 字段作用域 0: 请求, 1: 响应
       */
      fieldScope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
    }[]
    /**
     * 规则集合配置
     */
    ruleSetConfig?: {
      /**
       * 规则集合操作符
       */
      listOperator?: 'ANY_MATCH' | 'ALL_MATCH' | 'NONE_MATCH' | 'HALF_MATCH' | 'ONE_THIRD_MATCH'
      /**
       * 是否规则集合
       */
      enableListOperator?: number
    }
    /**
     * 规则列表, 仅在NodeType为RULE时必传
     */
    rules?: {
      /**
       * 规则名称
       */
      ruleName: string
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
      /**
       * 赋值
       */
      assignments?: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 右边表达式
         */
        right: string
        /**
         * 右边数据类型
         */
        rightFieldType?:
          | 'STRING'
          | 'INTEGER'
          | 'DECIMAL'
          | 'DATE_TIME'
          | 'BOOLEAN'
          | 'OBJECT'
          | 'LIST'
          | 'DATE'
          | 'ENUM'
        /**
         * 右边表达式类型
         */
        rightType: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
    }[]
    /**
     * 特征列表, 仅在NodeType为FEATURE时必传
     */
    features?: {
      /**
       * 使用的函数名称
       */
      udfName?: string
    }[]
    /**
     * 选择数据源或模型时的Id，在NodeType为DATA_AGG,MODEL时必传
     */
    actionId?: string
    /**
     * 自动处理节点-传输对象
     */
    dataModifyCfgVO?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 配置名称
       */
      cfgName?: string
      /**
       * 处理类型，0：新增记录，1：更新记录
       */
      cfgType?: number
      /**
       * 数据表名
       */
      tableName?: string
      /**
       * 字段映射
       */
      mapping?: {}
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
    }
    /**
     * 数据加载配置, 仅在NodeType为DATA_LOAD时必传
     */
    dataCfgReq?: {
      /**
       * 配置类型，1-资源中心，2-节点内配置
       */
      cfgType?: number
      /**
       * 配置名称
       */
      cfgName?: string
      /**
       * 数据源表名
       */
      tableName?: string
      /**
       * 查询字段
       */
      columns?: string[]
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
      /**
       * 参数列表
       */
      variables?: {
        /**
         * 字段名称
         */
        varName: string
        /**
         * 字段中文名
         */
        varLabel: string
        /**
         * 字段类型 0: 字符, 1: 整数, 2:浮点数
         */
        varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
        /**
         * 字段作用域 0: 请求, 1: 响应
         */
        fieldScope?: 'REQUEST' | 'RESPONSE'
        /**
         * 初始值
         */
        initValue?: string
      }[]
    }
    /**
     * 透传字段
     */
    payload?: {}
  }[]
  /**
   * 决策连线列表
   */
  lines: {
    /**
     * 连线ID
     */
    lineId?: string
    /**
     * from节点Id
     */
    fromNodeId?: string
    /**
     * to节点Id
     */
    toNodeId?: string
    /**
     * 执行条件
     */
    conditions?: {
      /**
       * 条件
       */
      conditions: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 运算符
         */
        operator:
          | 'EQ'
          | 'GT'
          | 'GE'
          | 'LT'
          | 'LE'
          | 'NEQ'
          | 'IN'
          | 'NOT_IN'
          | 'LIKE'
          | 'NOT_LIKE'
          | 'IS_EMPTY'
          | 'IS_NOT_EMPTY'
        /**
         * 右边表达式
         */
        right?: string
        /**
         * 右边表达式类型
         */
        rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
      conjs?: ('AND' | 'OR')[]
      splitIndexes?: number[]
    }
  }[]
}

/**
 * 接口 [新增决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45406) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/addGraph`
 * @更新时间 `2024-05-29 16:46:03`
 */
export interface IPostDecisionFlowAddGraphRes {}

/**
 * 接口 [新增决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45406) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/addGraph`
 * @更新时间 `2024-05-29 16:46:03`
 */
type PostDecisionFlowAddGraphRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/addGraph',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45406) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/addGraph`
 * @更新时间 `2024-05-29 16:46:03`
 */
const postDecisionFlowAddGraphRequestConfig: PostDecisionFlowAddGraphRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/addGraph',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowAddGraph',
}

/**
 * 接口 [新增决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45406) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/addGraph`
 * @更新时间 `2024-05-29 16:46:03`
 */
export const postDecisionFlowAddGraph = makeRequest<
  IPostDecisionFlowAddGraphReq,
  IPostDecisionFlowAddGraphRes,
  PostDecisionFlowAddGraphRequestConfig
>(postDecisionFlowAddGraphRequestConfig)

/**
 * 接口 [获取节点的变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45427) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/node/variables`
 * @更新时间 `2024-05-29 16:46:04`
 */
export interface IGetDecisionFlowNodeVariablesReq {
  nodeId: string
}

/**
 * 接口 [获取节点的变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45427) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/node/variables`
 * @更新时间 `2024-05-29 16:46:04`
 */
export type IGetDecisionFlowNodeVariablesRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 对象id
   */
  objectId?: string
  /**
   * 对应的对象类型
   */
  objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
  /**
   * 字段名称
   */
  varName?: string
  /**
   * 字段中文名
   */
  varLabel?: string
  /**
   * 字段类型 0: 字符, 1: 整数, 2:浮点数
   */
  varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
  /**
   * 数据作用域 0: 请求，1: 赋值
   */
  scope?: 'REQUEST' | 'RESPONSE'
  /**
   * 初始值
   */
  initValue?: string
  /**
   * 枚举选项
   */
  options?: {
    key?: {}
    value?: {}
  }[]
}[]

/**
 * 接口 [获取节点的变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45427) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/node/variables`
 * @更新时间 `2024-05-29 16:46:04`
 */
type GetDecisionFlowNodeVariablesRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/node/variables',
    'data',
    string,
    'nodeId',
    false
  >
>

/**
 * 接口 [获取节点的变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45427) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/node/variables`
 * @更新时间 `2024-05-29 16:46:04`
 */
const getDecisionFlowNodeVariablesRequestConfig: GetDecisionFlowNodeVariablesRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/node/variables',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['nodeId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowNodeVariables',
}

/**
 * 接口 [获取节点的变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45427) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/node/variables`
 * @更新时间 `2024-05-29 16:46:04`
 */
export const getDecisionFlowNodeVariables = makeRequest<
  IGetDecisionFlowNodeVariablesReq,
  IGetDecisionFlowNodeVariablesRes,
  GetDecisionFlowNodeVariablesRequestConfig
>(getDecisionFlowNodeVariablesRequestConfig)

/**
 * 接口 [根据Id查询决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45434) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/get`
 * @更新时间 `2024-05-29 16:46:04`
 */
export interface IGetDecisionFlowGetReq {
  flowId: string
}

/**
 * 接口 [根据Id查询决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45434) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/get`
 * @更新时间 `2024-05-29 16:46:04`
 */
/**
 * 决策流-传输对象
 */
export interface IGetDecisionFlowGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 决策流描述
   */
  flowDesc?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 决策id
   */
  decisionId?: string
  /**
   * 版本号
   */
  versionNo?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 审批id
   */
  processInstanceId?: string
  /**
   * 决策节点列表
   */
  nodes?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 决策流Id
     */
    flowId?: string
    /**
     * 前端决策流Id
     */
    nodeId?: string
    /**
     * 节点名称
     */
    nodeName?: string
    /**
     * 对应的行为Id
     */
    actionId?: string
    /**
     * 节点类型
     */
    nodeType?:
      | 'START'
      | 'END'
      | 'BRANCH'
      | 'DATA_LOAD'
      | 'DATA_AGG'
      | 'FEATURE'
      | 'MODEL'
      | 'RULE'
      | 'MANUAL'
      | 'DATA_MODIFY'
    /**
     * 是否阻塞
     */
    blocked?: number
    /**
     * 执行状态
     */
    execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
    /**
     * 透传字段
     */
    payload?: {}
  }[]
  /**
   * 决策连线列表
   */
  lines?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 决策流Id
     */
    flowId?: string
    /**
     * 连线Id
     */
    lineId?: string
    /**
     * from节点Id
     */
    fromNodeId?: string
    /**
     * to节点Id
     */
    toNodeId?: string
    /**
     * 执行条件
     */
    conditions?: {
      /**
       * 条件
       */
      conditions: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 运算符
         */
        operator:
          | 'EQ'
          | 'GT'
          | 'GE'
          | 'LT'
          | 'LE'
          | 'NEQ'
          | 'IN'
          | 'NOT_IN'
          | 'LIKE'
          | 'NOT_LIKE'
          | 'IS_EMPTY'
          | 'IS_NOT_EMPTY'
        /**
         * 右边表达式
         */
        right?: string
        /**
         * 右边表达式类型
         */
        rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
      conjs?: ('AND' | 'OR')[]
      splitIndexes?: number[]
    }
    /**
     * 执行状态
     */
    execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
  }[]
}

/**
 * 接口 [根据Id查询决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45434) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/get`
 * @更新时间 `2024-05-29 16:46:04`
 */
type GetDecisionFlowGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/get',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [根据Id查询决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45434) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/get`
 * @更新时间 `2024-05-29 16:46:04`
 */
const getDecisionFlowGetRequestConfig: GetDecisionFlowGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowGet',
}

/**
 * 接口 [根据Id查询决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45434) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/get`
 * @更新时间 `2024-05-29 16:46:04`
 */
export const getDecisionFlowGet = makeRequest<
  IGetDecisionFlowGetReq,
  IGetDecisionFlowGetRes,
  GetDecisionFlowGetRequestConfig
>(getDecisionFlowGetRequestConfig)

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45455) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/execute`
 * @更新时间 `2024-05-29 16:46:05`
 */
export interface IPostDecisionFlowExecuteReq {
  /**
   * 决策流Id
   */
  flowId: string
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45455) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/execute`
 * @更新时间 `2024-05-29 16:46:05`
 */
/**
 * 决策流执行结果-传输对象
 */
export interface IPostDecisionFlowExecuteRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 执行请求id
   */
  execId?: string
  /**
   * 执行规则id
   */
  flowId?: string
  /**
   * 执行规则名称
   */
  flowName?: string
  /**
   * 执行参数
   */
  execParam?: {}
  /**
   * 执行结果
   */
  execResult?: {}[]
  /**
   * 执行状态
   */
  execStatus?: string
  /**
   * 异常信息
   */
  errorMsg?: string
  /**
   * 执行时间
   */
  spendTime?: string
  /**
   * 创建时间
   */
  createTime?: string
  /**
   * 创建人
   */
  creator?: string
  /**
   * 更新人
   */
  updater?: string
  /**
   * 测试模式
   */
  testMode?: number
  /**
   * 执行模式，0: 自动决策，1: 人工干预
   */
  execMode?: number
  /**
   * 决策结果，0: 待定，1: 通过，-1: 拒绝
   */
  decisionRet?: number
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45455) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/execute`
 * @更新时间 `2024-05-29 16:46:05`
 */
type PostDecisionFlowExecuteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/{flowId}/execute',
    'data',
    'flowId',
    string,
    false
  >
>

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45455) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/execute`
 * @更新时间 `2024-05-29 16:46:05`
 */
const postDecisionFlowExecuteRequestConfig: PostDecisionFlowExecuteRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/{flowId}/execute',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: ['flowId'],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowExecute',
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45455) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/execute`
 * @更新时间 `2024-05-29 16:46:05`
 */
export const postDecisionFlowExecute = makeRequest<
  IPostDecisionFlowExecuteReq,
  IPostDecisionFlowExecuteRes,
  PostDecisionFlowExecuteRequestConfig
>(postDecisionFlowExecuteRequestConfig)

/**
 * 接口 [测试决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45462) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/test`
 * @更新时间 `2024-05-29 16:46:05`
 */
export interface IPostDecisionFlowTestReq {
  /**
   * 决策流ID
   */
  flowId?: string
  /**
   * 决策流参数
   */
  param?: {}
}

/**
 * 接口 [测试决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45462) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/test`
 * @更新时间 `2024-05-29 16:46:05`
 */
export interface IPostDecisionFlowTestRes {
  timeout?: string
}

/**
 * 接口 [测试决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45462) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/test`
 * @更新时间 `2024-05-29 16:46:05`
 */
type PostDecisionFlowTestRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/test',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [测试决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45462) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/test`
 * @更新时间 `2024-05-29 16:46:05`
 */
const postDecisionFlowTestRequestConfig: PostDecisionFlowTestRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/test',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowTest',
}

/**
 * 接口 [测试决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45462) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/test`
 * @更新时间 `2024-05-29 16:46:05`
 */
export const postDecisionFlowTest = makeRequest<
  IPostDecisionFlowTestReq,
  IPostDecisionFlowTestRes,
  PostDecisionFlowTestRequestConfig
>(postDecisionFlowTestRequestConfig)

/**
 * 接口 [生成API文档↗](https://yapi.mcisaas.com/project/371/interface/api/45469) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/generateApiDoc`
 * @更新时间 `2024-05-29 16:46:05`
 */
export interface IPostDecisionFlowGenerateApiDocReq {
  flowId: string
}

/**
 * 接口 [生成API文档↗](https://yapi.mcisaas.com/project/371/interface/api/45469) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/generateApiDoc`
 * @更新时间 `2024-05-29 16:46:05`
 */
export interface IPostDecisionFlowGenerateApiDocRes {
  /**
   * 决策流Id
   */
  flowId?: string
  /**
   * 决策Id
   */
  decisionId?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 决策流目录
   */
  categoryName?: string
  /**
   * 调用路径
   */
  path?: string
  /**
   * 异步调用路径
   */
  asyncPath?: string
  /**
   * 描述
   */
  description?: string
  /**
   * 入参列表
   */
  inputVars?: {
    /**
     * 变量名称
     */
    varName?: string
    /**
     * 变量类型
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 变量路径
     */
    varScope?: 'HEADER' | 'BODY' | 'PATH'
    /**
     * 是否必须
     */
    required?: boolean
    /**
     * 是否必须
     */
    initValue?: {}
    /**
     * 子节点列表
     */
    children?: {}[]
  }[]
  /**
   * 返回参数列表
   */
  outputVars?: {
    /**
     * 变量名称
     */
    varName?: string
    /**
     * 变量类型
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 变量路径
     */
    varScope?: 'HEADER' | 'BODY' | 'PATH'
    /**
     * 是否必须
     */
    required?: boolean
    /**
     * 是否必须
     */
    initValue?: {}
    /**
     * 子节点列表
     */
    children?: {}[]
  }[]
}

/**
 * 接口 [生成API文档↗](https://yapi.mcisaas.com/project/371/interface/api/45469) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/generateApiDoc`
 * @更新时间 `2024-05-29 16:46:05`
 */
type PostDecisionFlowGenerateApiDocRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/generateApiDoc',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [生成API文档↗](https://yapi.mcisaas.com/project/371/interface/api/45469) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/generateApiDoc`
 * @更新时间 `2024-05-29 16:46:05`
 */
const postDecisionFlowGenerateApiDocRequestConfig: PostDecisionFlowGenerateApiDocRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/generateApiDoc',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowGenerateApiDoc',
}

/**
 * 接口 [生成API文档↗](https://yapi.mcisaas.com/project/371/interface/api/45469) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/generateApiDoc`
 * @更新时间 `2024-05-29 16:46:05`
 */
export const postDecisionFlowGenerateApiDoc = makeRequest<
  IPostDecisionFlowGenerateApiDocReq,
  IPostDecisionFlowGenerateApiDocRes,
  PostDecisionFlowGenerateApiDocRequestConfig
>(postDecisionFlowGenerateApiDocRequestConfig)

/**
 * 接口 [删除决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45476) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/delete`
 * @更新时间 `2024-05-29 16:46:06`
 */
export interface IPostDecisionFlowDeleteReq {
  flowId: string
}

/**
 * 接口 [删除决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45476) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/delete`
 * @更新时间 `2024-05-29 16:46:06`
 */
export interface IPostDecisionFlowDeleteRes {}

/**
 * 接口 [删除决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45476) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/delete`
 * @更新时间 `2024-05-29 16:46:06`
 */
type PostDecisionFlowDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/delete',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [删除决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45476) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/delete`
 * @更新时间 `2024-05-29 16:46:06`
 */
const postDecisionFlowDeleteRequestConfig: PostDecisionFlowDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowDelete',
}

/**
 * 接口 [删除决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45476) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/delete`
 * @更新时间 `2024-05-29 16:46:06`
 */
export const postDecisionFlowDelete = makeRequest<
  IPostDecisionFlowDeleteReq,
  IPostDecisionFlowDeleteRes,
  PostDecisionFlowDeleteRequestConfig
>(postDecisionFlowDeleteRequestConfig)

/**
 * 接口 [根据Id查询决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45483) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/getGraph`
 * @更新时间 `2024-05-29 16:46:06`
 */
export interface IGetDecisionFlowGetGraphReq {
  flowId: string
}

/**
 * 接口 [根据Id查询决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45483) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/getGraph`
 * @更新时间 `2024-05-29 16:46:06`
 */
export interface IGetDecisionFlowGetGraphRes {
  /**
   * 决策流Id
   */
  flowId?: string
  /**
   * 图JSON字符串，透传，作为前端回显使用
   */
  graph?: string
  /**
   * 是否有效？0：代表临时保存，保存后还不能执行，因为没有校验，1：有效，代表提交，会进行校验
   */
  valid?: number
  /**
   * 决策节点列表
   */
  nodes: {
    /**
     * 前端节点ID
     */
    nodeId?: string
    /**
     * 节点名称
     */
    nodeName?: string
    /**
     * 见NodeType字典接口
     */
    nodeType?:
      | 'START'
      | 'END'
      | 'BRANCH'
      | 'DATA_LOAD'
      | 'DATA_AGG'
      | 'FEATURE'
      | 'MODEL'
      | 'RULE'
      | 'MANUAL'
      | 'DATA_MODIFY'
    /**
     * 私有变量列表
     */
    variables?: {
      /**
       * 字段名称
       */
      varName: string
      /**
       * 字段中文名
       */
      varLabel: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 字段作用域 0: 请求, 1: 响应
       */
      fieldScope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
    }[]
    /**
     * 规则集合配置
     */
    ruleSetConfig?: {
      /**
       * 规则集合操作符
       */
      listOperator?: 'ANY_MATCH' | 'ALL_MATCH' | 'NONE_MATCH' | 'HALF_MATCH' | 'ONE_THIRD_MATCH'
      /**
       * 是否规则集合
       */
      enableListOperator?: number
    }
    /**
     * 规则列表, 仅在NodeType为RULE时必传
     */
    rules?: {
      /**
       * 规则名称
       */
      ruleName: string
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
      /**
       * 赋值
       */
      assignments?: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 右边表达式
         */
        right: string
        /**
         * 右边数据类型
         */
        rightFieldType?:
          | 'STRING'
          | 'INTEGER'
          | 'DECIMAL'
          | 'DATE_TIME'
          | 'BOOLEAN'
          | 'OBJECT'
          | 'LIST'
          | 'DATE'
          | 'ENUM'
        /**
         * 右边表达式类型
         */
        rightType: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
    }[]
    /**
     * 特征列表, 仅在NodeType为FEATURE时必传
     */
    features?: {
      /**
       * 使用的函数名称
       */
      udfName?: string
    }[]
    /**
     * 选择数据源或模型时的Id，在NodeType为DATA_AGG,MODEL时必传
     */
    actionId?: string
    /**
     * 自动处理节点-传输对象
     */
    dataModifyCfgVO?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 配置名称
       */
      cfgName?: string
      /**
       * 处理类型，0：新增记录，1：更新记录
       */
      cfgType?: number
      /**
       * 数据表名
       */
      tableName?: string
      /**
       * 字段映射
       */
      mapping?: {}
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
    }
    /**
     * 数据加载配置, 仅在NodeType为DATA_LOAD时必传
     */
    dataCfgReq?: {
      /**
       * 配置类型，1-资源中心，2-节点内配置
       */
      cfgType?: number
      /**
       * 配置名称
       */
      cfgName?: string
      /**
       * 数据源表名
       */
      tableName?: string
      /**
       * 查询字段
       */
      columns?: string[]
      /**
       * 执行条件
       */
      conditions?: {
        /**
         * 条件
         */
        conditions: {
          /**
           * 左边表达式
           */
          left: string
          /**
           * 运算符
           */
          operator:
            | 'EQ'
            | 'GT'
            | 'GE'
            | 'LT'
            | 'LE'
            | 'NEQ'
            | 'IN'
            | 'NOT_IN'
            | 'LIKE'
            | 'NOT_LIKE'
            | 'IS_EMPTY'
            | 'IS_NOT_EMPTY'
          /**
           * 右边表达式
           */
          right?: string
          /**
           * 右边表达式类型
           */
          rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
        }[]
        conjs?: ('AND' | 'OR')[]
        splitIndexes?: number[]
      }
      /**
       * 参数列表
       */
      variables?: {
        /**
         * 字段名称
         */
        varName: string
        /**
         * 字段中文名
         */
        varLabel: string
        /**
         * 字段类型 0: 字符, 1: 整数, 2:浮点数
         */
        varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
        /**
         * 字段作用域 0: 请求, 1: 响应
         */
        fieldScope?: 'REQUEST' | 'RESPONSE'
        /**
         * 初始值
         */
        initValue?: string
      }[]
    }
    /**
     * 透传字段
     */
    payload?: {}
  }[]
  /**
   * 决策连线列表
   */
  lines: {
    /**
     * 连线ID
     */
    lineId?: string
    /**
     * from节点Id
     */
    fromNodeId?: string
    /**
     * to节点Id
     */
    toNodeId?: string
    /**
     * 执行条件
     */
    conditions?: {
      /**
       * 条件
       */
      conditions: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 运算符
         */
        operator:
          | 'EQ'
          | 'GT'
          | 'GE'
          | 'LT'
          | 'LE'
          | 'NEQ'
          | 'IN'
          | 'NOT_IN'
          | 'LIKE'
          | 'NOT_LIKE'
          | 'IS_EMPTY'
          | 'IS_NOT_EMPTY'
        /**
         * 右边表达式
         */
        right?: string
        /**
         * 右边表达式类型
         */
        rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
      conjs?: ('AND' | 'OR')[]
      splitIndexes?: number[]
    }
  }[]
}

/**
 * 接口 [根据Id查询决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45483) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/getGraph`
 * @更新时间 `2024-05-29 16:46:06`
 */
type GetDecisionFlowGetGraphRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/getGraph',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [根据Id查询决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45483) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/getGraph`
 * @更新时间 `2024-05-29 16:46:06`
 */
const getDecisionFlowGetGraphRequestConfig: GetDecisionFlowGetGraphRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/getGraph',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowGetGraph',
}

/**
 * 接口 [根据Id查询决策流编排↗](https://yapi.mcisaas.com/project/371/interface/api/45483) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/getGraph`
 * @更新时间 `2024-05-29 16:46:06`
 */
export const getDecisionFlowGetGraph = makeRequest<
  IGetDecisionFlowGetGraphReq,
  IGetDecisionFlowGetGraphRes,
  GetDecisionFlowGetGraphRequestConfig
>(getDecisionFlowGetGraphRequestConfig)

/**
 * 接口 [查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45490) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/page`
 * @更新时间 `2024-05-29 16:46:06`
 */
/**
 * 分页参数
 */
export interface IPostDecisionFlowPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
}

/**
 * 接口 [查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45490) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/page`
 * @更新时间 `2024-05-29 16:46:06`
 */
/**
 * 分页结果
 */
export interface IPostDecisionFlowPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 前端图回显JSON
     */
    graph?: string
    /**
     * 决策流名称
     */
    flowName?: string
    /**
     * 场景分类Id
     */
    categoryId?: string
    /**
     * 是否有效 0:无效 1:有效
     */
    valid?: number
    /**
     * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
     */
    status?: number
    /**
     * 版本Id
     */
    decisionId?: string
    /**
     * 权重
     */
    weight?: number
    /**
     * 版本号
     */
    versionNo?: string
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45490) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/page`
 * @更新时间 `2024-05-29 16:46:06`
 */
type PostDecisionFlowPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45490) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/page`
 * @更新时间 `2024-05-29 16:46:06`
 */
const postDecisionFlowPageRequestConfig: PostDecisionFlowPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowPage',
}

/**
 * 接口 [查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45490) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/page`
 * @更新时间 `2024-05-29 16:46:06`
 */
export const postDecisionFlowPage = makeRequest<
  IPostDecisionFlowPageReq,
  IPostDecisionFlowPageRes,
  PostDecisionFlowPageRequestConfig
>(postDecisionFlowPageRequestConfig)

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45518) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IPostDecisionFlowExecuteAsyncReq {
  /**
   * 决策流Id
   */
  flowId: string
}

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45518) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:07`
 */
export type IPostDecisionFlowExecuteAsyncRes = string

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45518) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:07`
 */
type PostDecisionFlowExecuteAsyncRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/{flowId}/executeAsync',
    'data',
    'flowId',
    string,
    false
  >
>

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45518) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:07`
 */
const postDecisionFlowExecuteAsyncRequestConfig: PostDecisionFlowExecuteAsyncRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/{flowId}/executeAsync',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: ['flowId'],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowExecuteAsync',
}

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45518) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/{flowId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:07`
 */
export const postDecisionFlowExecuteAsync = makeRequest<
  IPostDecisionFlowExecuteAsyncReq,
  IPostDecisionFlowExecuteAsyncRes,
  PostDecisionFlowExecuteAsyncRequestConfig
>(postDecisionFlowExecuteAsyncRequestConfig)

/**
 * 接口 [获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/45567) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export interface IGetDecisionFlowFlowVarsReq {
  flowId: string
}

/**
 * 接口 [获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/45567) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export type IGetDecisionFlowFlowVarsRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 对象id
   */
  objectId?: string
  /**
   * 对应的对象类型
   */
  objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
  /**
   * 字段名称
   */
  varName?: string
  /**
   * 字段中文名
   */
  varLabel?: string
  /**
   * 字段类型 0: 字符, 1: 整数, 2:浮点数
   */
  varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
  /**
   * 数据作用域 0: 请求，1: 赋值
   */
  scope?: 'REQUEST' | 'RESPONSE'
  /**
   * 初始值
   */
  initValue?: string
  /**
   * 枚举选项
   */
  options?: {
    key?: {}
    value?: {}
  }[]
}[]

/**
 * 接口 [获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/45567) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
type GetDecisionFlowFlowVarsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/flowVars',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/45567) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
const getDecisionFlowFlowVarsRequestConfig: GetDecisionFlowFlowVarsRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/flowVars',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowFlowVars',
}

/**
 * 接口 [获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/45567) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export const getDecisionFlowFlowVars = makeRequest<
  IGetDecisionFlowFlowVarsReq,
  IGetDecisionFlowFlowVarsRes,
  GetDecisionFlowFlowVarsRequestConfig
>(getDecisionFlowFlowVarsRequestConfig)

/**
 * 接口 [查询系统内置变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45581) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/systemVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export interface IGetDecisionFlowSystemVarsReq {}

/**
 * 接口 [查询系统内置变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45581) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/systemVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export type IGetDecisionFlowSystemVarsRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 对象id
   */
  objectId?: string
  /**
   * 对应的对象类型
   */
  objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
  /**
   * 字段名称
   */
  varName?: string
  /**
   * 字段中文名
   */
  varLabel?: string
  /**
   * 字段类型 0: 字符, 1: 整数, 2:浮点数
   */
  varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
  /**
   * 数据作用域 0: 请求，1: 赋值
   */
  scope?: 'REQUEST' | 'RESPONSE'
  /**
   * 初始值
   */
  initValue?: string
  /**
   * 枚举选项
   */
  options?: {
    key?: {}
    value?: {}
  }[]
}[]

/**
 * 接口 [查询系统内置变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45581) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/systemVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
type GetDecisionFlowSystemVarsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/systemVars',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [查询系统内置变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45581) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/systemVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
const getDecisionFlowSystemVarsRequestConfig: GetDecisionFlowSystemVarsRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/systemVars',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowSystemVars',
}

/**
 * 接口 [查询系统内置变量列表↗](https://yapi.mcisaas.com/project/371/interface/api/45581) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/systemVars`
 * @更新时间 `2024-05-29 16:46:09`
 */
export const getDecisionFlowSystemVars = makeRequest<
  IGetDecisionFlowSystemVarsReq,
  IGetDecisionFlowSystemVarsRes,
  GetDecisionFlowSystemVarsRequestConfig
>(getDecisionFlowSystemVarsRequestConfig)

/**
 * 接口 [人工审核回调↗](https://yapi.mcisaas.com/project/371/interface/api/45602) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallback`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IPostDecisionFlowManualCallbackReq {
  /**
   * 节点Id
   */
  nodeId: string
  /**
   * 执行Id
   */
  execId: string
  /**
   * 流程Id
   */
  flowId: string
  /**
   * 父Id
   */
  parentId: string
  /**
   * 执行状态, -1:拒绝, 1:通过
   */
  status: number
}

/**
 * 接口 [人工审核回调↗](https://yapi.mcisaas.com/project/371/interface/api/45602) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallback`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IPostDecisionFlowManualCallbackRes {}

/**
 * 接口 [人工审核回调↗](https://yapi.mcisaas.com/project/371/interface/api/45602) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallback`
 * @更新时间 `2024-05-29 16:46:10`
 */
type PostDecisionFlowManualCallbackRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/manualCallback',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [人工审核回调↗](https://yapi.mcisaas.com/project/371/interface/api/45602) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallback`
 * @更新时间 `2024-05-29 16:46:10`
 */
const postDecisionFlowManualCallbackRequestConfig: PostDecisionFlowManualCallbackRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/manualCallback',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowManualCallback',
}

/**
 * 接口 [人工审核回调↗](https://yapi.mcisaas.com/project/371/interface/api/45602) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallback`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const postDecisionFlowManualCallback = makeRequest<
  IPostDecisionFlowManualCallbackReq,
  IPostDecisionFlowManualCallbackRes,
  PostDecisionFlowManualCallbackRequestConfig
>(postDecisionFlowManualCallbackRequestConfig)

/**
 * 接口 [人工审核回调SSE接口↗](https://yapi.mcisaas.com/project/371/interface/api/45616) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallbackSse`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IPostDecisionFlowManualCallbackSseReq {
  /**
   * 节点Id
   */
  nodeId: string
  /**
   * 执行Id
   */
  execId: string
  /**
   * 流程Id
   */
  flowId: string
  /**
   * 父Id
   */
  parentId: string
  /**
   * 执行状态, -1:拒绝, 1:通过
   */
  status: number
}

/**
 * 接口 [人工审核回调SSE接口↗](https://yapi.mcisaas.com/project/371/interface/api/45616) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallbackSse`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IPostDecisionFlowManualCallbackSseRes {
  timeout?: string
}

/**
 * 接口 [人工审核回调SSE接口↗](https://yapi.mcisaas.com/project/371/interface/api/45616) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallbackSse`
 * @更新时间 `2024-05-29 16:46:10`
 */
type PostDecisionFlowManualCallbackSseRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/manualCallbackSse',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [人工审核回调SSE接口↗](https://yapi.mcisaas.com/project/371/interface/api/45616) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallbackSse`
 * @更新时间 `2024-05-29 16:46:10`
 */
const postDecisionFlowManualCallbackSseRequestConfig: PostDecisionFlowManualCallbackSseRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/manualCallbackSse',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowManualCallbackSse',
}

/**
 * 接口 [人工审核回调SSE接口↗](https://yapi.mcisaas.com/project/371/interface/api/45616) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/manualCallbackSse`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const postDecisionFlowManualCallbackSse = makeRequest<
  IPostDecisionFlowManualCallbackSseReq,
  IPostDecisionFlowManualCallbackSseRes,
  PostDecisionFlowManualCallbackSseRequestConfig
>(postDecisionFlowManualCallbackSseRequestConfig)

/**
 * 接口 [查询分类下决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45623) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getByCategoryId`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IPostDecisionFlowGetByCategoryIdReq {
  categoryId: string
}

/**
 * 接口 [查询分类下决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45623) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getByCategoryId`
 * @更新时间 `2024-05-29 16:46:10`
 */
export type IPostDecisionFlowGetByCategoryIdRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 版本Id
   */
  decisionId?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 版本号
   */
  versionNo?: string
}[]

/**
 * 接口 [查询分类下决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45623) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getByCategoryId`
 * @更新时间 `2024-05-29 16:46:10`
 */
type PostDecisionFlowGetByCategoryIdRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/getByCategoryId',
    'data',
    string,
    'categoryId',
    false
  >
>

/**
 * 接口 [查询分类下决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45623) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getByCategoryId`
 * @更新时间 `2024-05-29 16:46:10`
 */
const postDecisionFlowGetByCategoryIdRequestConfig: PostDecisionFlowGetByCategoryIdRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/getByCategoryId',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['categoryId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowGetByCategoryId',
}

/**
 * 接口 [查询分类下决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/45623) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getByCategoryId`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const postDecisionFlowGetByCategoryId = makeRequest<
  IPostDecisionFlowGetByCategoryIdReq,
  IPostDecisionFlowGetByCategoryIdRes,
  PostDecisionFlowGetByCategoryIdRequestConfig
>(postDecisionFlowGetByCategoryIdRequestConfig)

/**
 * 接口 [获取决策流审批详情↗](https://yapi.mcisaas.com/project/371/interface/api/45644) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getProcessDetail`
 * @更新时间 `2024-05-29 16:46:11`
 */
export interface IPostDecisionFlowGetProcessDetailReq {
  /**
   * 决策流id
   */
  flowId: string
}

/**
 * 接口 [获取决策流审批详情↗](https://yapi.mcisaas.com/project/371/interface/api/45644) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getProcessDetail`
 * @更新时间 `2024-05-29 16:46:11`
 */
export interface IPostDecisionFlowGetProcessDetailRes {
  applicationName?: string
  code?: string
  data?: {
    commentList?: {
      businessKey?: string
      createdTime?: string
      id?: string
      owner?: {
        departmentId?: string
        departmentName?: string
        email?: string
        phone?: string
        roleCode?: string
        roleName?: string
        userId?: string
        userName?: string
      }
      processInstanceId?: string
      repliedUsers?: {
        departmentId?: string
        departmentName?: string
        email?: string
        phone?: string
        roleCode?: string
        roleName?: string
        userId?: string
        userName?: string
      }[]
      replyContent?: string
      replyRecordId?: string
    }[]
    endActivity?: {
      activityDefinitionId?: string
      activityId?: string
      activityName?: string
      activityType?: string
      assignee?: string
      calledCaseInstanceId?: string
      calledProcessInstanceId?: string
      canceled?: boolean
      carbonCopies?: {
        approvalExplains?: {
          activityDefinitionId?: string
          businessKey?: string
          createdTime?: string
          explainMsg?: string
          id?: string
          owner?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }
          ownerId?: string
          processInstanceId?: string
          repliedUserId?: string[]
          repliedUsers?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }[]
        }[]
        emailTemplateType?: string
        receiverRole?: string
        recipients?: {
          departmentId?: string
          departmentName?: string
          email?: string
          phone?: string
          roleCode?: string
          roleName?: string
          userId?: string
          userName?: string
        }[]
      }[]
      completeScope?: boolean
      durationInMillis?: string
      endTime?: string
      executionId?: string
      id?: string
      parentActivityInstanceId?: string
      processDefinitionId?: string
      processDefinitionKey?: string
      processInstanceId?: string
      removalTime?: string
      rootProcessInstanceId?: string
      sequenceCounter?: string
      startTime?: string
      taskId?: string
      tenantId?: string
    }
    historicProcessInstance?: {
      approvalConclusion?: 'PASSED' | 'PROCESSING' | 'REJECTED' | 'REVOKED'
      businessKey?: string
      caseInstanceId?: string
      deleteReason?: string
      durationInMillis?: string
      endActivityId?: string
      endTime?: string
      id?: string
      processDefinitionId?: string
      processDefinitionKey?: string
      processDefinitionName?: string
      processDefinitionVersion?: string
      removalTime?: string
      revokeReason?: string
      rootProcessInstanceId?: string
      startActivityId?: string
      startTime?: string
      startUserId?: string
      state?: string
      superCaseInstanceId?: string
      superProcessInstanceId?: string
      tenantId?: string
    }
    startActivity?: {
      activityDefinitionId?: string
      activityId?: string
      activityName?: string
      activityType?: string
      assignee?: string
      calledCaseInstanceId?: string
      calledProcessInstanceId?: string
      canceled?: boolean
      carbonCopies?: {
        approvalExplains?: {
          activityDefinitionId?: string
          businessKey?: string
          createdTime?: string
          explainMsg?: string
          id?: string
          owner?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }
          ownerId?: string
          processInstanceId?: string
          repliedUserId?: string[]
          repliedUsers?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }[]
        }[]
        emailTemplateType?: string
        receiverRole?: string
        recipients?: {
          departmentId?: string
          departmentName?: string
          email?: string
          phone?: string
          roleCode?: string
          roleName?: string
          userId?: string
          userName?: string
        }[]
      }[]
      completeScope?: boolean
      durationInMillis?: string
      endTime?: string
      executionId?: string
      id?: string
      parentActivityInstanceId?: string
      processDefinitionId?: string
      processDefinitionKey?: string
      processInstanceId?: string
      removalTime?: string
      rootProcessInstanceId?: string
      sequenceCounter?: string
      startTime?: string
      stater?: {
        departmentId?: string
        departmentName?: string
        email?: string
        phone?: string
        roleCode?: string
        roleName?: string
        userId?: string
        userName?: string
      }
      taskId?: string
      tenantId?: string
    }
    taskActivities?: {
      activityDefinitionId?: string
      activityName?: string
      canAddSign?: boolean
      carbonCopies?: {
        approvalExplains?: {
          activityDefinitionId?: string
          businessKey?: string
          createdTime?: string
          explainMsg?: string
          id?: string
          owner?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }
          ownerId?: string
          processInstanceId?: string
          repliedUserId?: string[]
          repliedUsers?: {
            departmentId?: string
            departmentName?: string
            email?: string
            phone?: string
            roleCode?: string
            roleName?: string
            userId?: string
            userName?: string
          }[]
        }[]
        emailTemplateType?: string
        receiverRole?: string
        recipients?: {
          departmentId?: string
          departmentName?: string
          email?: string
          phone?: string
          roleCode?: string
          roleName?: string
          userId?: string
          userName?: string
        }[]
      }[]
      parallel?: boolean
      processInstanceId?: string
      sequenceCounter?: string
      userTasks?: {
        activityDefinitionId?: string
        activityInstanceId?: string
        addSignOperator?: {
          departmentId?: string
          departmentName?: string
          email?: string
          phone?: string
          roleCode?: string
          roleName?: string
          userId?: string
          userName?: string
        }
        addSignTag?: boolean
        approvalStatus?:
          | 'AGREE'
          | 'AUTO_CANCEL'
          | 'AUTO_DELETE'
          | 'DISAGREE'
          | 'OVERDUE_AGREE'
          | 'OVERDUE_REJECT'
          | 'REJECT'
        assignee?: string
        assigneeUsers?: {
          departmentId?: string
          departmentName?: string
          email?: string
          phone?: string
          roleCode?: string
          roleName?: string
          userId?: string
          userName?: string
        }[]
        caseDefinitionId?: string
        caseExecutionId?: string
        caseInstanceId?: string
        comment?: string
        deleteReason?: string
        description?: string
        due?: string
        duration?: string
        endTime?: string
        executionId?: string
        followUp?: string
        id?: string
        name?: string
        owner?: string
        parentTaskId?: string
        priority?: string
        processDefinitionId?: string
        processInstanceId?: string
        removalTime?: string
        startTime?: string
        taskDefinitionKey?: string
        tenantId?: string
      }[]
    }[]
  }
  error?: string
  localizedMessage?: string
  message?: string
  path?: string
  requestId?: string
  timestamp?: string
  traceId?: string
  versionNo?: string
}

/**
 * 接口 [获取决策流审批详情↗](https://yapi.mcisaas.com/project/371/interface/api/45644) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getProcessDetail`
 * @更新时间 `2024-05-29 16:46:11`
 */
type PostDecisionFlowGetProcessDetailRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/getProcessDetail',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [获取决策流审批详情↗](https://yapi.mcisaas.com/project/371/interface/api/45644) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getProcessDetail`
 * @更新时间 `2024-05-29 16:46:11`
 */
const postDecisionFlowGetProcessDetailRequestConfig: PostDecisionFlowGetProcessDetailRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/getProcessDetail',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowGetProcessDetail',
}

/**
 * 接口 [获取决策流审批详情↗](https://yapi.mcisaas.com/project/371/interface/api/45644) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/getProcessDetail`
 * @更新时间 `2024-05-29 16:46:11`
 */
export const postDecisionFlowGetProcessDetail = makeRequest<
  IPostDecisionFlowGetProcessDetailReq,
  IPostDecisionFlowGetProcessDetailRes,
  PostDecisionFlowGetProcessDetailRequestConfig
>(postDecisionFlowGetProcessDetailRequestConfig)

/**
 * 接口 [提交决策流审批↗](https://yapi.mcisaas.com/project/371/interface/api/45665) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/audit`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostDecisionFlowAuditReq {
  flowId: string
}

/**
 * 接口 [提交决策流审批↗](https://yapi.mcisaas.com/project/371/interface/api/45665) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/audit`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostDecisionFlowAuditRes {}

/**
 * 接口 [提交决策流审批↗](https://yapi.mcisaas.com/project/371/interface/api/45665) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/audit`
 * @更新时间 `2024-05-29 16:46:13`
 */
type PostDecisionFlowAuditRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/audit',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [提交决策流审批↗](https://yapi.mcisaas.com/project/371/interface/api/45665) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/audit`
 * @更新时间 `2024-05-29 16:46:13`
 */
const postDecisionFlowAuditRequestConfig: PostDecisionFlowAuditRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/audit',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowAudit',
}

/**
 * 接口 [提交决策流审批↗](https://yapi.mcisaas.com/project/371/interface/api/45665) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/audit`
 * @更新时间 `2024-05-29 16:46:13`
 */
export const postDecisionFlowAudit = makeRequest<
  IPostDecisionFlowAuditReq,
  IPostDecisionFlowAuditRes,
  PostDecisionFlowAuditRequestConfig
>(postDecisionFlowAuditRequestConfig)

/**
 * 接口 [同意\/驳回审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45693) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/complete`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostDecisionFlowTaskCompleteReq {
  /**
   * 审批状态,AGREE/REJECT/DISAGREE
   */
  approvalStatus?: string
  /**
   * 审批意见
   */
  comment?: string
  /**
   * 全局变量
   */
  globalVariables?: {}
  /**
   * 局部变量
   */
  localVariables?: {}
  /**
   * 任务id
   */
  taskId?: string
}

/**
 * 接口 [同意\/驳回审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45693) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/complete`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostDecisionFlowTaskCompleteRes {
  applicationName?: string
  code?: string
  data?: {}
  error?: string
  localizedMessage?: string
  message?: string
  path?: string
  requestId?: string
  traceId?: string
  versionNo?: string
}

/**
 * 接口 [同意\/驳回审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45693) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/complete`
 * @更新时间 `2024-05-29 16:46:13`
 */
type PostDecisionFlowTaskCompleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/task/complete',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [同意\/驳回审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45693) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/complete`
 * @更新时间 `2024-05-29 16:46:13`
 */
const postDecisionFlowTaskCompleteRequestConfig: PostDecisionFlowTaskCompleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/task/complete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowTaskComplete',
}

/**
 * 接口 [同意\/驳回审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45693) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/complete`
 * @更新时间 `2024-05-29 16:46:13`
 */
export const postDecisionFlowTaskComplete = makeRequest<
  IPostDecisionFlowTaskCompleteReq,
  IPostDecisionFlowTaskCompleteRes,
  PostDecisionFlowTaskCompleteRequestConfig
>(postDecisionFlowTaskCompleteRequestConfig)

/**
 * 接口 [审批流加签↗](https://yapi.mcisaas.com/project/371/interface/api/45700) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/add`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostDecisionFlowTaskAddReq {
  /**
   * 局部变量
   */
  localVariables?: {}
  /**
   * 流程实例id
   */
  processInstanceId?: string
  /**
   * 当前任务id
   */
  taskId?: string
  /**
   * 加签人员列表
   */
  userIds?: number[]
}

/**
 * 接口 [审批流加签↗](https://yapi.mcisaas.com/project/371/interface/api/45700) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/add`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostDecisionFlowTaskAddRes {
  applicationName?: string
  code?: string
  data?: {}
  error?: string
  localizedMessage?: string
  message?: string
  path?: string
  requestId?: string
  traceId?: string
  versionNo?: string
}

/**
 * 接口 [审批流加签↗](https://yapi.mcisaas.com/project/371/interface/api/45700) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/add`
 * @更新时间 `2024-05-29 16:46:14`
 */
type PostDecisionFlowTaskAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/task/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [审批流加签↗](https://yapi.mcisaas.com/project/371/interface/api/45700) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/add`
 * @更新时间 `2024-05-29 16:46:14`
 */
const postDecisionFlowTaskAddRequestConfig: PostDecisionFlowTaskAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/task/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowTaskAdd',
}

/**
 * 接口 [审批流加签↗](https://yapi.mcisaas.com/project/371/interface/api/45700) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/add`
 * @更新时间 `2024-05-29 16:46:14`
 */
export const postDecisionFlowTaskAdd = makeRequest<
  IPostDecisionFlowTaskAddReq,
  IPostDecisionFlowTaskAddRes,
  PostDecisionFlowTaskAddRequestConfig
>(postDecisionFlowTaskAddRequestConfig)

/**
 * 接口 [审批流增加评论↗](https://yapi.mcisaas.com/project/371/interface/api/45707) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/comment/create`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostDecisionFlowCommentCreateReq {
  /**
   * 业务key
   */
  businessKey?: string
  /**
   * 流程实例id
   */
  processInstanceId?: string
  /**
   * 回复的人的用户id
   */
  repliedUserId?: number[]
  /**
   * 回复内容
   */
  replyContent?: string
  /**
   * 回复记录id
   */
  replyRecordId?: string
}

/**
 * 接口 [审批流增加评论↗](https://yapi.mcisaas.com/project/371/interface/api/45707) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/comment/create`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostDecisionFlowCommentCreateRes {
  applicationName?: string
  code?: string
  data?: {}
  error?: string
  localizedMessage?: string
  message?: string
  path?: string
  requestId?: string
  traceId?: string
  versionNo?: string
}

/**
 * 接口 [审批流增加评论↗](https://yapi.mcisaas.com/project/371/interface/api/45707) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/comment/create`
 * @更新时间 `2024-05-29 16:46:14`
 */
type PostDecisionFlowCommentCreateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/comment/create',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [审批流增加评论↗](https://yapi.mcisaas.com/project/371/interface/api/45707) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/comment/create`
 * @更新时间 `2024-05-29 16:46:14`
 */
const postDecisionFlowCommentCreateRequestConfig: PostDecisionFlowCommentCreateRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/comment/create',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowCommentCreate',
}

/**
 * 接口 [审批流增加评论↗](https://yapi.mcisaas.com/project/371/interface/api/45707) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/comment/create`
 * @更新时间 `2024-05-29 16:46:14`
 */
export const postDecisionFlowCommentCreate = makeRequest<
  IPostDecisionFlowCommentCreateReq,
  IPostDecisionFlowCommentCreateRes,
  PostDecisionFlowCommentCreateRequestConfig
>(postDecisionFlowCommentCreateRequestConfig)

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45735) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/publish`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowApiPublishReq {
  /**
   * 决策流ID
   */
  flowId: string
}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45735) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/publish`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowApiPublishRes {}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45735) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/publish`
 * @更新时间 `2024-05-29 16:46:15`
 */
type PostDecisionFlowApiPublishRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/api/publish',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45735) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/publish`
 * @更新时间 `2024-05-29 16:46:15`
 */
const postDecisionFlowApiPublishRequestConfig: PostDecisionFlowApiPublishRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/api/publish',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowApiPublish',
}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45735) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/publish`
 * @更新时间 `2024-05-29 16:46:15`
 */
export const postDecisionFlowApiPublish = makeRequest<
  IPostDecisionFlowApiPublishReq,
  IPostDecisionFlowApiPublishRes,
  PostDecisionFlowApiPublishRequestConfig
>(postDecisionFlowApiPublishRequestConfig)

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45742) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowApiRejectReq {
  /**
   * 决策流ID
   */
  flowId: string
}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45742) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowApiRejectRes {}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45742) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
type PostDecisionFlowApiRejectRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/api/reject',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45742) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
const postDecisionFlowApiRejectRequestConfig: PostDecisionFlowApiRejectRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/api/reject',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowApiReject',
}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45742) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/api/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export const postDecisionFlowApiReject = makeRequest<
  IPostDecisionFlowApiRejectReq,
  IPostDecisionFlowApiRejectRes,
  PostDecisionFlowApiRejectRequestConfig
>(postDecisionFlowApiRejectRequestConfig)

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45763) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowRejectReq {
  /**
   * 决策流ID
   */
  flowId: string
}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45763) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostDecisionFlowRejectRes {}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45763) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
type PostDecisionFlowRejectRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/reject',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45763) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
const postDecisionFlowRejectRequestConfig: PostDecisionFlowRejectRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/reject',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowReject',
}

/**
 * 接口 [驳回决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45763) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/reject`
 * @更新时间 `2024-05-29 16:46:15`
 */
export const postDecisionFlowReject = makeRequest<
  IPostDecisionFlowRejectReq,
  IPostDecisionFlowRejectRes,
  PostDecisionFlowRejectRequestConfig
>(postDecisionFlowRejectRequestConfig)

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45770) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/publish`
 * @更新时间 `2024-02-21 09:31:36`
 */
export interface IPostDecisionFlowPublishReq {
  /**
   * 决策流ID
   */
  flowId: string
}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45770) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/publish`
 * @更新时间 `2024-02-21 09:31:36`
 */
export interface IPostDecisionFlowPublishRes {}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45770) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/publish`
 * @更新时间 `2024-02-21 09:31:36`
 */
type PostDecisionFlowPublishRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/publish',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45770) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/publish`
 * @更新时间 `2024-02-21 09:31:36`
 */
const postDecisionFlowPublishRequestConfig: PostDecisionFlowPublishRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/publish',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowPublish',
}

/**
 * 接口 [发布决策流↗](https://yapi.mcisaas.com/project/371/interface/api/45770) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/publish`
 * @更新时间 `2024-02-21 09:31:36`
 */
export const postDecisionFlowPublish = makeRequest<
  IPostDecisionFlowPublishReq,
  IPostDecisionFlowPublishRes,
  PostDecisionFlowPublishRequestConfig
>(postDecisionFlowPublishRequestConfig)

/**
 * 接口 [获取当前用户的进行中审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45882) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/simple`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IPostDecisionFlowTaskSimpleReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: string
  /**
   * 每页条数，最大值为 100
   */
  pageSize: string
}

/**
 * 接口 [获取当前用户的进行中审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45882) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/simple`
 * @更新时间 `2024-05-29 16:46:17`
 */
/**
 * 分页结果
 */
export interface IPostDecisionFlowTaskSimpleRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 前端图回显JSON
     */
    graph?: string
    /**
     * 决策流名称
     */
    flowName?: string
    /**
     * 场景分类Id
     */
    categoryId?: string
    /**
     * 是否有效 0:无效 1:有效
     */
    valid?: number
    /**
     * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
     */
    status?: number
    /**
     * 版本Id
     */
    decisionId?: string
    /**
     * 权重
     */
    weight?: number
    /**
     * 版本号
     */
    versionNo?: string
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [获取当前用户的进行中审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45882) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/simple`
 * @更新时间 `2024-05-29 16:46:17`
 */
type PostDecisionFlowTaskSimpleRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/task/simple',
    'data',
    string,
    'pageNo' | 'pageSize',
    false
  >
>

/**
 * 接口 [获取当前用户的进行中审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45882) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/simple`
 * @更新时间 `2024-05-29 16:46:17`
 */
const postDecisionFlowTaskSimpleRequestConfig: PostDecisionFlowTaskSimpleRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/task/simple',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['pageNo', 'pageSize'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowTaskSimple',
}

/**
 * 接口 [获取当前用户的进行中审批流↗](https://yapi.mcisaas.com/project/371/interface/api/45882) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/task/simple`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const postDecisionFlowTaskSimple = makeRequest<
  IPostDecisionFlowTaskSimpleReq,
  IPostDecisionFlowTaskSimpleRes,
  PostDecisionFlowTaskSimpleRequestConfig
>(postDecisionFlowTaskSimpleRequestConfig)

/**
 * 接口 [根据分类分组查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46134) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listWithCategory`
 * @更新时间 `2024-02-26 17:57:04`
 */
export interface IPostDecisionFlowListWithCategoryReq {}

/**
 * 接口 [根据分类分组查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46134) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listWithCategory`
 * @更新时间 `2024-02-26 17:57:04`
 */
export type IPostDecisionFlowListWithCategoryRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 分类名称
   */
  categoryName?: string
  /**
   * icon
   */
  icon?: string
  /**
   * 决策流VO
   */
  flows?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 前端图回显JSON
     */
    graph?: string
    /**
     * 决策流名称
     */
    flowName?: string
    /**
     * 是否有效 0:无效 1:有效
     */
    valid?: number
    /**
     * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
     */
    status?: number
    /**
     * 场景分类Id
     */
    categoryId?: string
  }[]
}[]

/**
 * 接口 [根据分类分组查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46134) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listWithCategory`
 * @更新时间 `2024-02-26 17:57:04`
 */
type PostDecisionFlowListWithCategoryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/listWithCategory',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [根据分类分组查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46134) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listWithCategory`
 * @更新时间 `2024-02-26 17:57:04`
 */
const postDecisionFlowListWithCategoryRequestConfig: PostDecisionFlowListWithCategoryRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/listWithCategory',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowListWithCategory',
}

/**
 * 接口 [根据分类分组查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46134) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listWithCategory`
 * @更新时间 `2024-02-26 17:57:04`
 */
export const postDecisionFlowListWithCategory = makeRequest<
  IPostDecisionFlowListWithCategoryReq,
  IPostDecisionFlowListWithCategoryRes,
  PostDecisionFlowListWithCategoryRequestConfig
>(postDecisionFlowListWithCategoryRequestConfig)

/**
 * 接口 [新增决策流版本↗](https://yapi.mcisaas.com/project/371/interface/api/46141) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/newVersion`
 * @更新时间 `2024-05-29 16:46:28`
 */
export interface IPostDecisionFlowNewVersionReq {
  flowId: string
}

/**
 * 接口 [新增决策流版本↗](https://yapi.mcisaas.com/project/371/interface/api/46141) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/newVersion`
 * @更新时间 `2024-05-29 16:46:28`
 */
/**
 * 决策流-传输对象
 */
export interface IPostDecisionFlowNewVersionRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 版本Id
   */
  decisionId?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 版本号
   */
  versionNo?: string
}

/**
 * 接口 [新增决策流版本↗](https://yapi.mcisaas.com/project/371/interface/api/46141) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/newVersion`
 * @更新时间 `2024-05-29 16:46:28`
 */
type PostDecisionFlowNewVersionRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/newVersion',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [新增决策流版本↗](https://yapi.mcisaas.com/project/371/interface/api/46141) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/newVersion`
 * @更新时间 `2024-05-29 16:46:28`
 */
const postDecisionFlowNewVersionRequestConfig: PostDecisionFlowNewVersionRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/newVersion',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowNewVersion',
}

/**
 * 接口 [新增决策流版本↗](https://yapi.mcisaas.com/project/371/interface/api/46141) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/newVersion`
 * @更新时间 `2024-05-29 16:46:28`
 */
export const postDecisionFlowNewVersion = makeRequest<
  IPostDecisionFlowNewVersionReq,
  IPostDecisionFlowNewVersionRes,
  PostDecisionFlowNewVersionRequestConfig
>(postDecisionFlowNewVersionRequestConfig)

/**
 * 接口 [根据版本id查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46148) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersionId`
 * @更新时间 `2024-02-26 17:57:04`
 */
export interface IPostDecisionFlowListByVersionIdReq {
  versionId: string
}

/**
 * 接口 [根据版本id查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46148) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersionId`
 * @更新时间 `2024-02-26 17:57:04`
 */
export type IPostDecisionFlowListByVersionIdRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 场景分类Id
   */
  categoryId?: string
}[]

/**
 * 接口 [根据版本id查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46148) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersionId`
 * @更新时间 `2024-02-26 17:57:04`
 */
type PostDecisionFlowListByVersionIdRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/listByVersionId',
    'data',
    string,
    'versionId',
    false
  >
>

/**
 * 接口 [根据版本id查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46148) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersionId`
 * @更新时间 `2024-02-26 17:57:04`
 */
const postDecisionFlowListByVersionIdRequestConfig: PostDecisionFlowListByVersionIdRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/listByVersionId',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['versionId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowListByVersionId',
}

/**
 * 接口 [根据版本id查询决策流列表↗](https://yapi.mcisaas.com/project/371/interface/api/46148) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersionId`
 * @更新时间 `2024-02-26 17:57:04`
 */
export const postDecisionFlowListByVersionId = makeRequest<
  IPostDecisionFlowListByVersionIdReq,
  IPostDecisionFlowListByVersionIdRes,
  PostDecisionFlowListByVersionIdRequestConfig
>(postDecisionFlowListByVersionIdRequestConfig)

/**
 * 接口 [查询决策流版本下所有决策↗](https://yapi.mcisaas.com/project/371/interface/api/46246) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersion`
 * @更新时间 `2024-05-29 16:46:18`
 */
export interface IPostDecisionFlowListByVersionReq {
  decisionId: string
}

/**
 * 接口 [查询决策流版本下所有决策↗](https://yapi.mcisaas.com/project/371/interface/api/46246) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersion`
 * @更新时间 `2024-05-29 16:46:18`
 */
export type IPostDecisionFlowListByVersionRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 版本Id
   */
  decisionId?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 版本号
   */
  versionNo?: string
}[]

/**
 * 接口 [查询决策流版本下所有决策↗](https://yapi.mcisaas.com/project/371/interface/api/46246) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersion`
 * @更新时间 `2024-05-29 16:46:18`
 */
type PostDecisionFlowListByVersionRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/listByVersion',
    'data',
    string,
    'decisionId',
    false
  >
>

/**
 * 接口 [查询决策流版本下所有决策↗](https://yapi.mcisaas.com/project/371/interface/api/46246) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersion`
 * @更新时间 `2024-05-29 16:46:18`
 */
const postDecisionFlowListByVersionRequestConfig: PostDecisionFlowListByVersionRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/listByVersion',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['decisionId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowListByVersion',
}

/**
 * 接口 [查询决策流版本下所有决策↗](https://yapi.mcisaas.com/project/371/interface/api/46246) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/listByVersion`
 * @更新时间 `2024-05-29 16:46:18`
 */
export const postDecisionFlowListByVersion = makeRequest<
  IPostDecisionFlowListByVersionReq,
  IPostDecisionFlowListByVersionRes,
  PostDecisionFlowListByVersionRequestConfig
>(postDecisionFlowListByVersionRequestConfig)

/**
 * 接口 [决策流导入↗](https://yapi.mcisaas.com/project/371/interface/api/48360) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/import`
 * @更新时间 `2024-05-29 16:46:24`
 */
export interface IPostDecisionFlowImportReq {
  file: string
  flowId: string
}

/**
 * 接口 [决策流导入↗](https://yapi.mcisaas.com/project/371/interface/api/48360) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/import`
 * @更新时间 `2024-05-29 16:46:24`
 */
export type IPostDecisionFlowImportRes = string

/**
 * 接口 [决策流导入↗](https://yapi.mcisaas.com/project/371/interface/api/48360) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/import`
 * @更新时间 `2024-05-29 16:46:24`
 */
type PostDecisionFlowImportRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/import',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [决策流导入↗](https://yapi.mcisaas.com/project/371/interface/api/48360) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/import`
 * @更新时间 `2024-05-29 16:46:24`
 */
const postDecisionFlowImportRequestConfig: PostDecisionFlowImportRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/import',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowImport',
}

/**
 * 接口 [决策流导入↗](https://yapi.mcisaas.com/project/371/interface/api/48360) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/import`
 * @更新时间 `2024-05-29 16:46:24`
 */
export const postDecisionFlowImport = makeRequest<
  IPostDecisionFlowImportReq,
  IPostDecisionFlowImportRes,
  PostDecisionFlowImportRequestConfig
>(postDecisionFlowImportRequestConfig)

/**
 * 接口 [决策流复制↗](https://yapi.mcisaas.com/project/371/interface/api/48367) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/copy`
 * @更新时间 `2024-05-29 16:46:24`
 */
/**
 * 决策流-传输对象
 */
export interface IPostDecisionFlowCopyReq {
  /**
   * 复制的决策流Id
   */
  flowId?: string
  /**
   * 决策流名称
   */
  flowName: string
  /**
   * 决策流说明
   */
  flowDesc?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
}

/**
 * 接口 [决策流复制↗](https://yapi.mcisaas.com/project/371/interface/api/48367) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/copy`
 * @更新时间 `2024-05-29 16:46:24`
 */
/**
 * 决策流-传输对象
 */
export interface IPostDecisionFlowCopyRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 前端图回显JSON
   */
  graph?: string
  /**
   * 决策流名称
   */
  flowName?: string
  /**
   * 场景分类Id
   */
  categoryId?: string
  /**
   * 是否有效 0:无效 1:有效
   */
  valid?: number
  /**
   * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
   */
  status?: number
  /**
   * 版本Id
   */
  decisionId?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 版本号
   */
  versionNo?: string
}

/**
 * 接口 [决策流复制↗](https://yapi.mcisaas.com/project/371/interface/api/48367) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/copy`
 * @更新时间 `2024-05-29 16:46:24`
 */
type PostDecisionFlowCopyRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/copy',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [决策流复制↗](https://yapi.mcisaas.com/project/371/interface/api/48367) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/copy`
 * @更新时间 `2024-05-29 16:46:24`
 */
const postDecisionFlowCopyRequestConfig: PostDecisionFlowCopyRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/copy',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowCopy',
}

/**
 * 接口 [决策流复制↗](https://yapi.mcisaas.com/project/371/interface/api/48367) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/copy`
 * @更新时间 `2024-05-29 16:46:24`
 */
export const postDecisionFlowCopy = makeRequest<
  IPostDecisionFlowCopyReq,
  IPostDecisionFlowCopyRes,
  PostDecisionFlowCopyRequestConfig
>(postDecisionFlowCopyRequestConfig)

/**
 * 接口 [决策流导出↗](https://yapi.mcisaas.com/project/371/interface/api/48374) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/export`
 * @更新时间 `2024-05-29 16:46:24`
 */
export interface IGetDecisionFlowExportReq {
  flowId: string
}

/**
 * 接口 [决策流导出↗](https://yapi.mcisaas.com/project/371/interface/api/48374) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/export`
 * @更新时间 `2024-05-29 16:46:24`
 */
export type IGetDecisionFlowExportRes = string

/**
 * 接口 [决策流导出↗](https://yapi.mcisaas.com/project/371/interface/api/48374) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/export`
 * @更新时间 `2024-05-29 16:46:24`
 */
type GetDecisionFlowExportRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/export',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [决策流导出↗](https://yapi.mcisaas.com/project/371/interface/api/48374) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/export`
 * @更新时间 `2024-05-29 16:46:24`
 */
const getDecisionFlowExportRequestConfig: GetDecisionFlowExportRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/export',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowExport',
}

/**
 * 接口 [决策流导出↗](https://yapi.mcisaas.com/project/371/interface/api/48374) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/export`
 * @更新时间 `2024-05-29 16:46:24`
 */
export const getDecisionFlowExport = makeRequest<
  IGetDecisionFlowExportReq,
  IGetDecisionFlowExportRes,
  GetDecisionFlowExportRequestConfig
>(getDecisionFlowExportRequestConfig)

/**
 * 接口 [批量测试决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48759) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/testBatch`
 * @更新时间 `2024-05-29 16:46:24`
 */
export interface IPostDecisionFlowTestBatchReq {
  flowId: string
  file: string
}

/**
 * 接口 [批量测试决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48759) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/testBatch`
 * @更新时间 `2024-05-29 16:46:24`
 */
export type IPostDecisionFlowTestBatchRes = string

/**
 * 接口 [批量测试决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48759) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/testBatch`
 * @更新时间 `2024-05-29 16:46:24`
 */
type PostDecisionFlowTestBatchRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/testBatch',
    'data',
    string,
    'flowId' | 'file',
    false
  >
>

/**
 * 接口 [批量测试决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48759) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/testBatch`
 * @更新时间 `2024-05-29 16:46:24`
 */
const postDecisionFlowTestBatchRequestConfig: PostDecisionFlowTestBatchRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/testBatch',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId', 'file'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowTestBatch',
}

/**
 * 接口 [批量测试决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48759) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/testBatch`
 * @更新时间 `2024-05-29 16:46:24`
 */
export const postDecisionFlowTestBatch = makeRequest<
  IPostDecisionFlowTestBatchReq,
  IPostDecisionFlowTestBatchRes,
  PostDecisionFlowTestBatchRequestConfig
>(postDecisionFlowTestBatchRequestConfig)

/**
 * 接口 [下载批量测试模板↗](https://yapi.mcisaas.com/project/371/interface/api/48766) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/testTemplate`
 * @更新时间 `2024-05-29 16:46:25`
 */
export interface IGetDecisionFlowTestTemplateReq {
  flowId: string
}

/**
 * 接口 [下载批量测试模板↗](https://yapi.mcisaas.com/project/371/interface/api/48766) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/testTemplate`
 * @更新时间 `2024-05-29 16:46:25`
 */
export interface IGetDecisionFlowTestTemplateRes {}

/**
 * 接口 [下载批量测试模板↗](https://yapi.mcisaas.com/project/371/interface/api/48766) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/testTemplate`
 * @更新时间 `2024-05-29 16:46:25`
 */
type GetDecisionFlowTestTemplateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/testTemplate',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [下载批量测试模板↗](https://yapi.mcisaas.com/project/371/interface/api/48766) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/testTemplate`
 * @更新时间 `2024-05-29 16:46:25`
 */
const getDecisionFlowTestTemplateRequestConfig: GetDecisionFlowTestTemplateRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/testTemplate',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowTestTemplate',
}

/**
 * 接口 [下载批量测试模板↗](https://yapi.mcisaas.com/project/371/interface/api/48766) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/testTemplate`
 * @更新时间 `2024-05-29 16:46:25`
 */
export const getDecisionFlowTestTemplate = makeRequest<
  IGetDecisionFlowTestTemplateReq,
  IGetDecisionFlowTestTemplateRes,
  GetDecisionFlowTestTemplateRequestConfig
>(getDecisionFlowTestTemplateRequestConfig)

/**
 * 接口 [批量获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50516) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVarsBatch`
 * @更新时间 `2024-05-29 16:46:27`
 */
export interface IGetDecisionFlowFlowVarsBatchReq {
  flowIds: string
}

/**
 * 接口 [批量获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50516) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVarsBatch`
 * @更新时间 `2024-05-29 16:46:27`
 */
export type IGetDecisionFlowFlowVarsBatchRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 对象id
   */
  objectId?: string
  /**
   * 对应的对象类型
   */
  objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
  /**
   * 字段名称
   */
  varName?: string
  /**
   * 字段中文名
   */
  varLabel?: string
  /**
   * 字段类型 0: 字符, 1: 整数, 2:浮点数
   */
  varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
  /**
   * 数据作用域 0: 请求，1: 赋值
   */
  scope?: 'REQUEST' | 'RESPONSE'
  /**
   * 初始值
   */
  initValue?: string
  /**
   * 枚举选项
   */
  options?: {
    key?: {}
    value?: {}
  }[]
}[]

/**
 * 接口 [批量获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50516) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVarsBatch`
 * @更新时间 `2024-05-29 16:46:27`
 */
type GetDecisionFlowFlowVarsBatchRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/flowVarsBatch',
    'data',
    string,
    'flowIds',
    false
  >
>

/**
 * 接口 [批量获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50516) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVarsBatch`
 * @更新时间 `2024-05-29 16:46:27`
 */
const getDecisionFlowFlowVarsBatchRequestConfig: GetDecisionFlowFlowVarsBatchRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/flowVarsBatch',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: ['flowIds'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionFlowFlowVarsBatch',
}

/**
 * 接口 [批量获取决策流输入参数列表↗](https://yapi.mcisaas.com/project/371/interface/api/50516) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `GET /decision-flow/flowVarsBatch`
 * @更新时间 `2024-05-29 16:46:27`
 */
export const getDecisionFlowFlowVarsBatch = makeRequest<
  IGetDecisionFlowFlowVarsBatchReq,
  IGetDecisionFlowFlowVarsBatchRes,
  GetDecisionFlowFlowVarsBatchRequestConfig
>(getDecisionFlowFlowVarsBatchRequestConfig)

/**
 * 接口 [决策流权重分配↗](https://yapi.mcisaas.com/project/371/interface/api/50572) 的 **请求类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/weight-assign`
 * @更新时间 `2024-05-29 16:46:27`
 */
export interface IPostDecisionFlowWeightAssignReq {
  /**
   * 决策流权重
   */
  flowWeights: {
    /**
     * 决策流Id
     */
    flowId?: string
    /**
     * 权重
     */
    weight?: number
  }[]
}

/**
 * 接口 [决策流权重分配↗](https://yapi.mcisaas.com/project/371/interface/api/50572) 的 **返回类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/weight-assign`
 * @更新时间 `2024-05-29 16:46:27`
 */
export interface IPostDecisionFlowWeightAssignRes {}

/**
 * 接口 [决策流权重分配↗](https://yapi.mcisaas.com/project/371/interface/api/50572) 的 **请求配置的类型**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/weight-assign`
 * @更新时间 `2024-05-29 16:46:27`
 */
type PostDecisionFlowWeightAssignRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision-flow/weight-assign',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [决策流权重分配↗](https://yapi.mcisaas.com/project/371/interface/api/50572) 的 **请求配置**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/weight-assign`
 * @更新时间 `2024-05-29 16:46:27`
 */
const postDecisionFlowWeightAssignRequestConfig: PostDecisionFlowWeightAssignRequestConfig = {
  mockUrl: mockUrl_0_1_0_2,
  devUrl: devUrl_0_1_0_2,
  prodUrl: prodUrl_0_1_0_2,
  path: '/decision-flow/weight-assign',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_2,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionFlowWeightAssign',
}

/**
 * 接口 [决策流权重分配↗](https://yapi.mcisaas.com/project/371/interface/api/50572) 的 **请求函数**
 *
 * @分类 [决策流↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6406)
 * @标签 `决策流`
 * @请求头 `POST /decision-flow/weight-assign`
 * @更新时间 `2024-05-29 16:46:27`
 */
export const postDecisionFlowWeightAssign = makeRequest<
  IPostDecisionFlowWeightAssignReq,
  IPostDecisionFlowWeightAssignRes,
  PostDecisionFlowWeightAssignRequestConfig
>(postDecisionFlowWeightAssignRequestConfig)

const mockUrl_0_1_0_3 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_3 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_3 = '' as any
const dataKey_0_1_0_3 = 'data' as any

/**
 * 接口 [操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/45273) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/operator`
 * @更新时间 `2024-05-29 16:45:58`
 */
export interface IGetDictOperatorReq {}

/**
 * 接口 [操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/45273) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/operator`
 * @更新时间 `2024-05-29 16:45:58`
 */
export type IGetDictOperatorRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/45273) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/operator`
 * @更新时间 `2024-05-29 16:45:58`
 */
type GetDictOperatorRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/operator',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/45273) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/operator`
 * @更新时间 `2024-05-29 16:45:58`
 */
const getDictOperatorRequestConfig: GetDictOperatorRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/operator',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictOperator',
}

/**
 * 接口 [操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/45273) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/operator`
 * @更新时间 `2024-05-29 16:45:58`
 */
export const getDictOperator = makeRequest<IGetDictOperatorReq, IGetDictOperatorRes, GetDictOperatorRequestConfig>(
  getDictOperatorRequestConfig,
)

/**
 * 接口 [字段类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45280) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export interface IGetDictFieldTypeReq {}

/**
 * 接口 [字段类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45280) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export type IGetDictFieldTypeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [字段类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45280) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
type GetDictFieldTypeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/field-type',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [字段类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45280) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
const getDictFieldTypeRequestConfig: GetDictFieldTypeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/field-type',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictFieldType',
}

/**
 * 接口 [字段类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45280) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export const getDictFieldType = makeRequest<IGetDictFieldTypeReq, IGetDictFieldTypeRes, GetDictFieldTypeRequestConfig>(
  getDictFieldTypeRequestConfig,
)

/**
 * 接口 [字段作用域字典↗](https://yapi.mcisaas.com/project/371/interface/api/45287) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-scope`
 * @更新时间 `2024-05-29 16:45:59`
 */
export interface IGetDictFieldScopeReq {}

/**
 * 接口 [字段作用域字典↗](https://yapi.mcisaas.com/project/371/interface/api/45287) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-scope`
 * @更新时间 `2024-05-29 16:45:59`
 */
export type IGetDictFieldScopeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [字段作用域字典↗](https://yapi.mcisaas.com/project/371/interface/api/45287) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-scope`
 * @更新时间 `2024-05-29 16:45:59`
 */
type GetDictFieldScopeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/field-scope',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [字段作用域字典↗](https://yapi.mcisaas.com/project/371/interface/api/45287) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-scope`
 * @更新时间 `2024-05-29 16:45:59`
 */
const getDictFieldScopeRequestConfig: GetDictFieldScopeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/field-scope',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictFieldScope',
}

/**
 * 接口 [字段作用域字典↗](https://yapi.mcisaas.com/project/371/interface/api/45287) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/field-scope`
 * @更新时间 `2024-05-29 16:45:59`
 */
export const getDictFieldScope = makeRequest<
  IGetDictFieldScopeReq,
  IGetDictFieldScopeRes,
  GetDictFieldScopeRequestConfig
>(getDictFieldScopeRequestConfig)

/**
 * 接口 [连接类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45294) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/conj`
 * @更新时间 `2024-05-29 16:45:59`
 */
export interface IGetDictConjReq {}

/**
 * 接口 [连接类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45294) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/conj`
 * @更新时间 `2024-05-29 16:45:59`
 */
export type IGetDictConjRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [连接类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45294) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/conj`
 * @更新时间 `2024-05-29 16:45:59`
 */
type GetDictConjRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/dict/conj', 'data', string, string, true>
>

/**
 * 接口 [连接类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45294) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/conj`
 * @更新时间 `2024-05-29 16:45:59`
 */
const getDictConjRequestConfig: GetDictConjRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/conj',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictConj',
}

/**
 * 接口 [连接类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45294) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/conj`
 * @更新时间 `2024-05-29 16:45:59`
 */
export const getDictConj = makeRequest<IGetDictConjReq, IGetDictConjRes, GetDictConjRequestConfig>(
  getDictConjRequestConfig,
)

/**
 * 接口 [计算类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45301) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/calc-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export interface IGetDictCalcTypeReq {}

/**
 * 接口 [计算类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45301) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/calc-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export type IGetDictCalcTypeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [计算类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45301) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/calc-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
type GetDictCalcTypeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/calc-type',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [计算类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45301) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/calc-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
const getDictCalcTypeRequestConfig: GetDictCalcTypeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/calc-type',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictCalcType',
}

/**
 * 接口 [计算类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45301) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/calc-type`
 * @更新时间 `2024-05-29 16:45:59`
 */
export const getDictCalcType = makeRequest<IGetDictCalcTypeReq, IGetDictCalcTypeRes, GetDictCalcTypeRequestConfig>(
  getDictCalcTypeRequestConfig,
)

/**
 * 接口 [获取序列号类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45308) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/serialize-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export interface IGetDictSerializeTypeReq {}

/**
 * 接口 [获取序列号类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45308) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/serialize-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export type IGetDictSerializeTypeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取序列号类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45308) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/serialize-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
type GetDictSerializeTypeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/serialize-type',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取序列号类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45308) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/serialize-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
const getDictSerializeTypeRequestConfig: GetDictSerializeTypeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/serialize-type',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictSerializeType',
}

/**
 * 接口 [获取序列号类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45308) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/serialize-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export const getDictSerializeType = makeRequest<
  IGetDictSerializeTypeReq,
  IGetDictSerializeTypeRes,
  GetDictSerializeTypeRequestConfig
>(getDictSerializeTypeRequestConfig)

/**
 * 接口 [获取对象类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45315) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/object-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export interface IGetDictObjectTypeReq {}

/**
 * 接口 [获取对象类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45315) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/object-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export type IGetDictObjectTypeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取对象类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45315) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/object-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
type GetDictObjectTypeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/object-type',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取对象类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45315) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/object-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
const getDictObjectTypeRequestConfig: GetDictObjectTypeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/object-type',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictObjectType',
}

/**
 * 接口 [获取对象类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45315) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/object-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export const getDictObjectType = makeRequest<
  IGetDictObjectTypeReq,
  IGetDictObjectTypeRes,
  GetDictObjectTypeRequestConfig
>(getDictObjectTypeRequestConfig)

/**
 * 接口 [获取节点类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45322) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/node-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export interface IGetDictNodeTypeReq {}

/**
 * 接口 [获取节点类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45322) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/node-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export type IGetDictNodeTypeRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取节点类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45322) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/node-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
type GetDictNodeTypeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/node-type',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取节点类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45322) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/node-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
const getDictNodeTypeRequestConfig: GetDictNodeTypeRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/node-type',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictNodeType',
}

/**
 * 接口 [获取节点类型字典↗](https://yapi.mcisaas.com/project/371/interface/api/45322) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/node-type`
 * @更新时间 `2024-05-29 16:46:00`
 */
export const getDictNodeType = makeRequest<IGetDictNodeTypeReq, IGetDictNodeTypeRes, GetDictNodeTypeRequestConfig>(
  getDictNodeTypeRequestConfig,
)

/**
 * 接口 [获取聚合函数字典↗](https://yapi.mcisaas.com/project/371/interface/api/45329) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/agg-func`
 * @更新时间 `2024-05-29 16:46:00`
 */
export interface IGetDictAggFuncReq {}

/**
 * 接口 [获取聚合函数字典↗](https://yapi.mcisaas.com/project/371/interface/api/45329) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/agg-func`
 * @更新时间 `2024-05-29 16:46:00`
 */
export type IGetDictAggFuncRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取聚合函数字典↗](https://yapi.mcisaas.com/project/371/interface/api/45329) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/agg-func`
 * @更新时间 `2024-05-29 16:46:00`
 */
type GetDictAggFuncRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/agg-func',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取聚合函数字典↗](https://yapi.mcisaas.com/project/371/interface/api/45329) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/agg-func`
 * @更新时间 `2024-05-29 16:46:00`
 */
const getDictAggFuncRequestConfig: GetDictAggFuncRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/agg-func',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictAggFunc',
}

/**
 * 接口 [获取聚合函数字典↗](https://yapi.mcisaas.com/project/371/interface/api/45329) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/agg-func`
 * @更新时间 `2024-05-29 16:46:00`
 */
export const getDictAggFunc = makeRequest<IGetDictAggFuncReq, IGetDictAggFuncRes, GetDictAggFuncRequestConfig>(
  getDictAggFuncRequestConfig,
)

/**
 * 接口 [获取API解析模板字典↗](https://yapi.mcisaas.com/project/371/interface/api/45546) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/api-template`
 * @更新时间 `2024-05-29 16:46:08`
 */
export interface IGetDictApiTemplateReq {}

/**
 * 接口 [获取API解析模板字典↗](https://yapi.mcisaas.com/project/371/interface/api/45546) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/api-template`
 * @更新时间 `2024-05-29 16:46:08`
 */
export type IGetDictApiTemplateRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取API解析模板字典↗](https://yapi.mcisaas.com/project/371/interface/api/45546) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/api-template`
 * @更新时间 `2024-05-29 16:46:08`
 */
type GetDictApiTemplateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/api-template',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取API解析模板字典↗](https://yapi.mcisaas.com/project/371/interface/api/45546) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/api-template`
 * @更新时间 `2024-05-29 16:46:08`
 */
const getDictApiTemplateRequestConfig: GetDictApiTemplateRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/api-template',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictApiTemplate',
}

/**
 * 接口 [获取API解析模板字典↗](https://yapi.mcisaas.com/project/371/interface/api/45546) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/api-template`
 * @更新时间 `2024-05-29 16:46:08`
 */
export const getDictApiTemplate = makeRequest<
  IGetDictApiTemplateReq,
  IGetDictApiTemplateRes,
  GetDictApiTemplateRequestConfig
>(getDictApiTemplateRequestConfig)

/**
 * 接口 [获取执行状态字典↗](https://yapi.mcisaas.com/project/371/interface/api/45595) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/exec-status`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IGetDictExecStatusReq {}

/**
 * 接口 [获取执行状态字典↗](https://yapi.mcisaas.com/project/371/interface/api/45595) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/exec-status`
 * @更新时间 `2024-05-29 16:46:10`
 */
export type IGetDictExecStatusRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取执行状态字典↗](https://yapi.mcisaas.com/project/371/interface/api/45595) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/exec-status`
 * @更新时间 `2024-05-29 16:46:10`
 */
type GetDictExecStatusRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/exec-status',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取执行状态字典↗](https://yapi.mcisaas.com/project/371/interface/api/45595) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/exec-status`
 * @更新时间 `2024-05-29 16:46:10`
 */
const getDictExecStatusRequestConfig: GetDictExecStatusRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/exec-status',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictExecStatus',
}

/**
 * 接口 [获取执行状态字典↗](https://yapi.mcisaas.com/project/371/interface/api/45595) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/exec-status`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const getDictExecStatus = makeRequest<
  IGetDictExecStatusReq,
  IGetDictExecStatusRes,
  GetDictExecStatusRequestConfig
>(getDictExecStatusRequestConfig)

/**
 * 接口 [获取集合操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/48948) 的 **请求类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/listOperator`
 * @更新时间 `2024-05-29 16:46:25`
 */
export interface IGetDictListOperatorReq {}

/**
 * 接口 [获取集合操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/48948) 的 **返回类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/listOperator`
 * @更新时间 `2024-05-29 16:46:25`
 */
export type IGetDictListOperatorRes = {
  /**
   * 字典编码
   */
  dictCode?: {}
  /**
   * 字典名称
   */
  dictName?: string
  /**
   * 是否启用
   */
  enable?: boolean
}[]

/**
 * 接口 [获取集合操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/48948) 的 **请求配置的类型**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/listOperator`
 * @更新时间 `2024-05-29 16:46:25`
 */
type GetDictListOperatorRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/dict/listOperator',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [获取集合操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/48948) 的 **请求配置**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/listOperator`
 * @更新时间 `2024-05-29 16:46:25`
 */
const getDictListOperatorRequestConfig: GetDictListOperatorRequestConfig = {
  mockUrl: mockUrl_0_1_0_3,
  devUrl: devUrl_0_1_0_3,
  prodUrl: prodUrl_0_1_0_3,
  path: '/dict/listOperator',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_3,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDictListOperator',
}

/**
 * 接口 [获取集合操作符字典↗](https://yapi.mcisaas.com/project/371/interface/api/48948) 的 **请求函数**
 *
 * @分类 [字典接口↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6408)
 * @标签 `字典接口`
 * @请求头 `GET /dict/listOperator`
 * @更新时间 `2024-05-29 16:46:25`
 */
export const getDictListOperator = makeRequest<
  IGetDictListOperatorReq,
  IGetDictListOperatorRes,
  GetDictListOperatorRequestConfig
>(getDictListOperatorRequestConfig)

const mockUrl_0_1_0_4 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_4 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_4 = '' as any
const dataKey_0_1_0_4 = 'data' as any

/**
 * 接口 [更新数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45336) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgUpdateReq {
  /**
   * 主键ID
   */
  id: string
  /**
   * 查询字段
   */
  columns?: string[]
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 参数列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [更新数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45336) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgUpdateRes {}

/**
 * 接口 [更新数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45336) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
type PostDataCfgUpdateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/update',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [更新数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45336) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
const postDataCfgUpdateRequestConfig: PostDataCfgUpdateRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/update',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgUpdate',
}

/**
 * 接口 [更新数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45336) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export const postDataCfgUpdate = makeRequest<
  IPostDataCfgUpdateReq,
  IPostDataCfgUpdateRes,
  PostDataCfgUpdateRequestConfig
>(postDataCfgUpdateRequestConfig)

/**
 * 接口 [通过Id获取数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45343) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/get`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgGetReq {
  id: string
}

/**
 * 接口 [通过Id获取数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45343) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/get`
 * @更新时间 `2024-05-29 16:46:01`
 */
/**
 * 数据
 */
export interface IPostDataCfgGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 配置类型，1-资源中心，2-节点内配置
   */
  cfgType?: number
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据表名
   */
  tableName?: string
  /**
   * id列名
   */
  idColumn?: string
  /**
   * id列类型，0：整数，1：字符串
   */
  idColumnType?: number
  /**
   * 查询列
   */
  columns?: string[]
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}

/**
 * 接口 [通过Id获取数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45343) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/get`
 * @更新时间 `2024-05-29 16:46:01`
 */
type PostDataCfgGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/get',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [通过Id获取数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45343) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/get`
 * @更新时间 `2024-05-29 16:46:01`
 */
const postDataCfgGetRequestConfig: PostDataCfgGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/get',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgGet',
}

/**
 * 接口 [通过Id获取数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45343) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/get`
 * @更新时间 `2024-05-29 16:46:01`
 */
export const postDataCfgGet = makeRequest<IPostDataCfgGetReq, IPostDataCfgGetRes, PostDataCfgGetRequestConfig>(
  postDataCfgGetRequestConfig,
)

/**
 * 接口 [删除数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45350) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/delete`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgDeleteReq {
  id: string
}

/**
 * 接口 [删除数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45350) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/delete`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgDeleteRes {}

/**
 * 接口 [删除数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45350) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/delete`
 * @更新时间 `2024-05-29 16:46:01`
 */
type PostDataCfgDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/delete',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [删除数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45350) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/delete`
 * @更新时间 `2024-05-29 16:46:01`
 */
const postDataCfgDeleteRequestConfig: PostDataCfgDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgDelete',
}

/**
 * 接口 [删除数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45350) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/delete`
 * @更新时间 `2024-05-29 16:46:01`
 */
export const postDataCfgDelete = makeRequest<
  IPostDataCfgDeleteReq,
  IPostDataCfgDeleteRes,
  PostDataCfgDeleteRequestConfig
>(postDataCfgDeleteRequestConfig)

/**
 * 接口 [更新数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45357) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgAggUpdateReq {
  /**
   * 主键ID
   */
  id: string
  /**
   * 查询字段
   */
  columns?: string[]
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 参数列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [更新数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45357) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export interface IPostDataCfgAggUpdateRes {}

/**
 * 接口 [更新数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45357) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
type PostDataCfgAggUpdateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/update',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [更新数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45357) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
const postDataCfgAggUpdateRequestConfig: PostDataCfgAggUpdateRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/update',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggUpdate',
}

/**
 * 接口 [更新数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45357) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/update`
 * @更新时间 `2024-05-29 16:46:01`
 */
export const postDataCfgAggUpdate = makeRequest<
  IPostDataCfgAggUpdateReq,
  IPostDataCfgAggUpdateRes,
  PostDataCfgAggUpdateRequestConfig
>(postDataCfgAggUpdateRequestConfig)

/**
 * 接口 [通过Id获取数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45364) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/get`
 * @更新时间 `2024-05-29 16:46:02`
 */
export interface IPostDataCfgAggGetReq {
  id: string
}

/**
 * 接口 [通过Id获取数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45364) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/get`
 * @更新时间 `2024-05-29 16:46:02`
 */
/**
 * 数据
 */
export interface IPostDataCfgAggGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据源表名
   */
  tableName?: string
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 聚合表别名
   */
  aggColumns?: {
    /**
     * 聚合表别名
     */
    alias?: string
    /**
     * 聚合列
     */
    column?: string
    /**
     * 聚合函数
     */
    aggFunc?: 'SUM' | 'COUNT' | 'AVG' | 'MAX' | 'MIN'
  }[]
  /**
   * 分组字段
   */
  groupBy?: string[]
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}

/**
 * 接口 [通过Id获取数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45364) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/get`
 * @更新时间 `2024-05-29 16:46:02`
 */
type PostDataCfgAggGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/get',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [通过Id获取数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45364) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/get`
 * @更新时间 `2024-05-29 16:46:02`
 */
const postDataCfgAggGetRequestConfig: PostDataCfgAggGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/get',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggGet',
}

/**
 * 接口 [通过Id获取数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45364) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/get`
 * @更新时间 `2024-05-29 16:46:02`
 */
export const postDataCfgAggGet = makeRequest<
  IPostDataCfgAggGetReq,
  IPostDataCfgAggGetRes,
  PostDataCfgAggGetRequestConfig
>(postDataCfgAggGetRequestConfig)

/**
 * 接口 [删除数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45371) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/delete`
 * @更新时间 `2024-05-29 16:46:02`
 */
export interface IPostDataCfgAggDeleteReq {
  id: string
}

/**
 * 接口 [删除数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45371) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/delete`
 * @更新时间 `2024-05-29 16:46:02`
 */
export interface IPostDataCfgAggDeleteRes {}

/**
 * 接口 [删除数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45371) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/delete`
 * @更新时间 `2024-05-29 16:46:02`
 */
type PostDataCfgAggDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/delete',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [删除数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45371) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/delete`
 * @更新时间 `2024-05-29 16:46:02`
 */
const postDataCfgAggDeleteRequestConfig: PostDataCfgAggDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggDelete',
}

/**
 * 接口 [删除数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45371) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/delete`
 * @更新时间 `2024-05-29 16:46:02`
 */
export const postDataCfgAggDelete = makeRequest<
  IPostDataCfgAggDeleteReq,
  IPostDataCfgAggDeleteRes,
  PostDataCfgAggDeleteRequestConfig
>(postDataCfgAggDeleteRequestConfig)

/**
 * 接口 [新增数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45378) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/add`
 * @更新时间 `2024-05-29 16:46:02`
 */
export interface IPostDataCfgAggAddReq {
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据源表名
   */
  tableName?: string
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 聚合表别名
   */
  aggColumns?: {
    /**
     * 聚合表别名
     */
    alias?: string
    /**
     * 聚合列
     */
    column?: string
    /**
     * 聚合函数
     */
    aggFunc?: 'SUM' | 'COUNT' | 'AVG' | 'MAX' | 'MIN'
  }[]
  /**
   * 分组字段
   */
  groupBy?: string[]
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [新增数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45378) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/add`
 * @更新时间 `2024-05-29 16:46:02`
 */
export interface IPostDataCfgAggAddRes {}

/**
 * 接口 [新增数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45378) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/add`
 * @更新时间 `2024-05-29 16:46:02`
 */
type PostDataCfgAggAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45378) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/add`
 * @更新时间 `2024-05-29 16:46:02`
 */
const postDataCfgAggAddRequestConfig: PostDataCfgAggAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggAdd',
}

/**
 * 接口 [新增数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45378) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/add`
 * @更新时间 `2024-05-29 16:46:02`
 */
export const postDataCfgAggAdd = makeRequest<
  IPostDataCfgAggAddReq,
  IPostDataCfgAggAddRes,
  PostDataCfgAggAddRequestConfig
>(postDataCfgAggAddRequestConfig)

/**
 * 接口 [新增数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45385) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
/**
 * 数据加载配置, 仅在NodeType为DATA_LOAD时必传
 */
export interface IPostDataCfgAddReq {
  /**
   * 配置类型，1-资源中心，2-节点内配置
   */
  cfgType?: number
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据源表名
   */
  tableName?: string
  /**
   * 查询字段
   */
  columns?: string[]
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 参数列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [新增数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45385) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
export type IPostDataCfgAddRes = string

/**
 * 接口 [新增数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45385) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
type PostDataCfgAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45385) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
const postDataCfgAddRequestConfig: PostDataCfgAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAdd',
}

/**
 * 接口 [新增数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45385) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
export const postDataCfgAdd = makeRequest<IPostDataCfgAddReq, IPostDataCfgAddRes, PostDataCfgAddRequestConfig>(
  postDataCfgAddRequestConfig,
)

/**
 * 接口 [查询数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45441) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
/**
 * 分页参数
 */
export interface IPostDataCfgPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
}

/**
 * 接口 [查询数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45441) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
/**
 * 分页结果
 */
export interface IPostDataCfgPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 配置类型，1-资源中心，2-节点内配置
     */
    cfgType?: number
    /**
     * 配置名称
     */
    cfgName?: string
    /**
     * 数据表名
     */
    tableName?: string
    /**
     * id列名
     */
    idColumn?: string
    /**
     * id列类型，0：整数，1：字符串
     */
    idColumnType?: number
    /**
     * 查询列
     */
    columns?: string[]
    /**
     * 执行条件
     */
    conditions?: {
      /**
       * 条件
       */
      conditions: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 运算符
         */
        operator:
          | 'EQ'
          | 'GT'
          | 'GE'
          | 'LT'
          | 'LE'
          | 'NEQ'
          | 'IN'
          | 'NOT_IN'
          | 'LIKE'
          | 'NOT_LIKE'
          | 'IS_EMPTY'
          | 'IS_NOT_EMPTY'
        /**
         * 右边表达式
         */
        right?: string
        /**
         * 右边表达式类型
         */
        rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
      conjs?: ('AND' | 'OR')[]
      splitIndexes?: number[]
    }
    /**
     * 变量列表
     */
    variables?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 流程id
       */
      flowId?: string
      /**
       * 对象id
       */
      objectId?: string
      /**
       * 对应的对象类型
       */
      objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
      /**
       * 字段名称
       */
      varName?: string
      /**
       * 字段中文名
       */
      varLabel?: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 数据作用域 0: 请求，1: 赋值
       */
      scope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
      /**
       * 枚举选项
       */
      options?: {
        key?: {}
        value?: {}
      }[]
    }[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45441) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
type PostDataCfgPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45441) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
const postDataCfgPageRequestConfig: PostDataCfgPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgPage',
}

/**
 * 接口 [查询数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/45441) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
export const postDataCfgPage = makeRequest<IPostDataCfgPageReq, IPostDataCfgPageRes, PostDataCfgPageRequestConfig>(
  postDataCfgPageRequestConfig,
)

/**
 * 接口 [查询数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45448) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
/**
 * 分页参数
 */
export interface IPostDataCfgAggPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
}

/**
 * 接口 [查询数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45448) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
/**
 * 分页结果
 */
export interface IPostDataCfgAggPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 配置名称
     */
    cfgName?: string
    /**
     * 数据源表名
     */
    tableName?: string
    /**
     * 执行条件
     */
    conditions?: {
      /**
       * 条件
       */
      conditions: {
        /**
         * 左边表达式
         */
        left: string
        /**
         * 运算符
         */
        operator:
          | 'EQ'
          | 'GT'
          | 'GE'
          | 'LT'
          | 'LE'
          | 'NEQ'
          | 'IN'
          | 'NOT_IN'
          | 'LIKE'
          | 'NOT_LIKE'
          | 'IS_EMPTY'
          | 'IS_NOT_EMPTY'
        /**
         * 右边表达式
         */
        right?: string
        /**
         * 右边表达式类型
         */
        rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
      }[]
      conjs?: ('AND' | 'OR')[]
      splitIndexes?: number[]
    }
    /**
     * 聚合表别名
     */
    aggColumns?: {
      /**
       * 聚合表别名
       */
      alias?: string
      /**
       * 聚合列
       */
      column?: string
      /**
       * 聚合函数
       */
      aggFunc?: 'SUM' | 'COUNT' | 'AVG' | 'MAX' | 'MIN'
    }[]
    /**
     * 分组字段
     */
    groupBy?: string[]
    /**
     * 变量列表
     */
    variables?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 流程id
       */
      flowId?: string
      /**
       * 对象id
       */
      objectId?: string
      /**
       * 对应的对象类型
       */
      objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
      /**
       * 字段名称
       */
      varName?: string
      /**
       * 字段中文名
       */
      varLabel?: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 数据作用域 0: 请求，1: 赋值
       */
      scope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
      /**
       * 枚举选项
       */
      options?: {
        key?: {}
        value?: {}
      }[]
    }[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45448) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
type PostDataCfgAggPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45448) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
const postDataCfgAggPageRequestConfig: PostDataCfgAggPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggPage',
}

/**
 * 接口 [查询数据聚合配置↗](https://yapi.mcisaas.com/project/371/interface/api/45448) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/page`
 * @更新时间 `2024-05-29 16:46:04`
 */
export const postDataCfgAggPage = makeRequest<
  IPostDataCfgAggPageReq,
  IPostDataCfgAggPageRes,
  PostDataCfgAggPageRequestConfig
>(postDataCfgAggPageRequestConfig)

/**
 * 接口 [执行数据源配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45532) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IPostDataCfgExecuteReq {
  /**
   * 配置类型，1-资源中心，2-节点内配置
   */
  cfgType?: number
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据源表名
   */
  tableName?: string
  /**
   * 查询字段
   */
  columns?: string[]
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 参数列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
  params?: {}
}

/**
 * 接口 [执行数据源配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45532) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IPostDataCfgExecuteRes {
  /**
   * 结果变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
  /**
   * 数据结果列表
   */
  results?: {}[]
}

/**
 * 接口 [执行数据源配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45532) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
type PostDataCfgExecuteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/execute',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [执行数据源配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45532) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
const postDataCfgExecuteRequestConfig: PostDataCfgExecuteRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/execute',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgExecute',
}

/**
 * 接口 [执行数据源配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45532) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export const postDataCfgExecute = makeRequest<
  IPostDataCfgExecuteReq,
  IPostDataCfgExecuteRes,
  PostDataCfgExecuteRequestConfig
>(postDataCfgExecuteRequestConfig)

/**
 * 接口 [执行数据聚合配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45539) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IPostDataCfgAggExecuteReq {
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据源表名
   */
  tableName?: string
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 聚合表别名
   */
  aggColumns?: {
    /**
     * 聚合表别名
     */
    alias?: string
    /**
     * 聚合列
     */
    column?: string
    /**
     * 聚合函数
     */
    aggFunc?: 'SUM' | 'COUNT' | 'AVG' | 'MAX' | 'MIN'
  }[]
  /**
   * 分组字段
   */
  groupBy?: string[]
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
  params?: {}
}

/**
 * 接口 [执行数据聚合配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45539) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IPostDataCfgAggExecuteRes {
  /**
   * 结果变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
  /**
   * 数据结果列表
   */
  results?: {}[]
}

/**
 * 接口 [执行数据聚合配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45539) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
type PostDataCfgAggExecuteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/agg/execute',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [执行数据聚合配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45539) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
const postDataCfgAggExecuteRequestConfig: PostDataCfgAggExecuteRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/agg/execute',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgAggExecute',
}

/**
 * 接口 [执行数据聚合配置预览数据↗](https://yapi.mcisaas.com/project/371/interface/api/45539) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/agg/execute`
 * @更新时间 `2024-05-29 16:46:07`
 */
export const postDataCfgAggExecute = makeRequest<
  IPostDataCfgAggExecuteReq,
  IPostDataCfgAggExecuteRes,
  PostDataCfgAggExecuteRequestConfig
>(postDataCfgAggExecuteRequestConfig)

/**
 * 接口 [导入数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50278) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/import`
 * @更新时间 `2024-05-29 16:46:26`
 */
export type IPostDataCfgImportReq = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 配置类型，1-资源中心，2-节点内配置
   */
  cfgType?: number
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据表名
   */
  tableName?: string
  /**
   * id列名
   */
  idColumn?: string
  /**
   * id列类型，0：整数，1：字符串
   */
  idColumnType?: number
  /**
   * 查询列
   */
  columns?: string[]
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}[]

/**
 * 接口 [导入数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50278) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/import`
 * @更新时间 `2024-05-29 16:46:26`
 */
export interface IPostDataCfgImportRes {}

/**
 * 接口 [导入数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50278) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/import`
 * @更新时间 `2024-05-29 16:46:26`
 */
type PostDataCfgImportRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/import',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [导入数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50278) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/import`
 * @更新时间 `2024-05-29 16:46:26`
 */
const postDataCfgImportRequestConfig: PostDataCfgImportRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/import',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgImport',
}

/**
 * 接口 [导入数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50278) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/import`
 * @更新时间 `2024-05-29 16:46:26`
 */
export const postDataCfgImport = makeRequest<
  IPostDataCfgImportReq,
  IPostDataCfgImportRes,
  PostDataCfgImportRequestConfig
>(postDataCfgImportRequestConfig)

/**
 * 接口 [导出数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50285) 的 **请求类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/export`
 * @更新时间 `2024-05-29 16:46:26`
 */
export type IPostDataCfgExportReq = number[]

/**
 * 接口 [导出数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50285) 的 **返回类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/export`
 * @更新时间 `2024-05-29 16:46:26`
 */
export type IPostDataCfgExportRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 配置类型，1-资源中心，2-节点内配置
   */
  cfgType?: number
  /**
   * 配置名称
   */
  cfgName?: string
  /**
   * 数据表名
   */
  tableName?: string
  /**
   * id列名
   */
  idColumn?: string
  /**
   * id列类型，0：整数，1：字符串
   */
  idColumnType?: number
  /**
   * 查询列
   */
  columns?: string[]
  /**
   * 执行条件
   */
  conditions?: {
    /**
     * 条件
     */
    conditions: {
      /**
       * 左边表达式
       */
      left: string
      /**
       * 运算符
       */
      operator:
        | 'EQ'
        | 'GT'
        | 'GE'
        | 'LT'
        | 'LE'
        | 'NEQ'
        | 'IN'
        | 'NOT_IN'
        | 'LIKE'
        | 'NOT_LIKE'
        | 'IS_EMPTY'
        | 'IS_NOT_EMPTY'
      /**
       * 右边表达式
       */
      right?: string
      /**
       * 右边表达式类型
       */
      rightType?: 'CONSTANT' | 'VARIABLE' | 'EXPRESSION'
    }[]
    conjs?: ('AND' | 'OR')[]
    splitIndexes?: number[]
  }
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}[]

/**
 * 接口 [导出数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50285) 的 **请求配置的类型**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/export`
 * @更新时间 `2024-05-29 16:46:26`
 */
type PostDataCfgExportRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/data-cfg/export',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [导出数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50285) 的 **请求配置**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/export`
 * @更新时间 `2024-05-29 16:46:26`
 */
const postDataCfgExportRequestConfig: PostDataCfgExportRequestConfig = {
  mockUrl: mockUrl_0_1_0_4,
  devUrl: devUrl_0_1_0_4,
  prodUrl: prodUrl_0_1_0_4,
  path: '/data-cfg/export',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_4,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDataCfgExport',
}

/**
 * 接口 [导出数据源配置↗](https://yapi.mcisaas.com/project/371/interface/api/50285) 的 **请求函数**
 *
 * @分类 [数据加载配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6410)
 * @标签 `数据加载配置`
 * @请求头 `POST /data-cfg/export`
 * @更新时间 `2024-05-29 16:46:26`
 */
export const postDataCfgExport = makeRequest<
  IPostDataCfgExportReq,
  IPostDataCfgExportRes,
  PostDataCfgExportRequestConfig
>(postDataCfgExportRequestConfig)

const mockUrl_0_1_0_5 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_5 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_5 = '' as any
const dataKey_0_1_0_5 = 'data' as any

/**
 * 接口 [所有可用数据表↗](https://yapi.mcisaas.com/project/371/interface/api/45392) 的 **请求类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/list`
 * @更新时间 `2024-05-29 16:46:03`
 */
export interface IGetTableListReq {}

/**
 * 接口 [所有可用数据表↗](https://yapi.mcisaas.com/project/371/interface/api/45392) 的 **返回类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/list`
 * @更新时间 `2024-05-29 16:46:03`
 */
export type IGetTableListRes = string[]

/**
 * 接口 [所有可用数据表↗](https://yapi.mcisaas.com/project/371/interface/api/45392) 的 **请求配置的类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/list`
 * @更新时间 `2024-05-29 16:46:03`
 */
type GetTableListRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/table/list',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [所有可用数据表↗](https://yapi.mcisaas.com/project/371/interface/api/45392) 的 **请求配置**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/list`
 * @更新时间 `2024-05-29 16:46:03`
 */
const getTableListRequestConfig: GetTableListRequestConfig = {
  mockUrl: mockUrl_0_1_0_5,
  devUrl: devUrl_0_1_0_5,
  prodUrl: prodUrl_0_1_0_5,
  path: '/table/list',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_5,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getTableList',
}

/**
 * 接口 [所有可用数据表↗](https://yapi.mcisaas.com/project/371/interface/api/45392) 的 **请求函数**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/list`
 * @更新时间 `2024-05-29 16:46:03`
 */
export const getTableList = makeRequest<IGetTableListReq, IGetTableListRes, GetTableListRequestConfig>(
  getTableListRequestConfig,
)

/**
 * 接口 [数据表可用字段↗](https://yapi.mcisaas.com/project/371/interface/api/45399) 的 **请求类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/fields`
 * @更新时间 `2024-05-29 16:46:03`
 */
export interface IGetTableFieldsReq {
  tableName: string
}

/**
 * 接口 [数据表可用字段↗](https://yapi.mcisaas.com/project/371/interface/api/45399) 的 **返回类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/fields`
 * @更新时间 `2024-05-29 16:46:03`
 */
export type IGetTableFieldsRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 对象id
   */
  objectId?: string
  /**
   * 对应的对象类型
   */
  objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
  /**
   * 字段名称
   */
  varName?: string
  /**
   * 字段中文名
   */
  varLabel?: string
  /**
   * 字段类型 0: 字符, 1: 整数, 2:浮点数
   */
  varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
  /**
   * 数据作用域 0: 请求，1: 赋值
   */
  scope?: 'REQUEST' | 'RESPONSE'
  /**
   * 初始值
   */
  initValue?: string
  /**
   * 枚举选项
   */
  options?: {
    key?: {}
    value?: {}
  }[]
}[]

/**
 * 接口 [数据表可用字段↗](https://yapi.mcisaas.com/project/371/interface/api/45399) 的 **请求配置的类型**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/fields`
 * @更新时间 `2024-05-29 16:46:03`
 */
type GetTableFieldsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/table/fields',
    'data',
    string,
    'tableName',
    false
  >
>

/**
 * 接口 [数据表可用字段↗](https://yapi.mcisaas.com/project/371/interface/api/45399) 的 **请求配置**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/fields`
 * @更新时间 `2024-05-29 16:46:03`
 */
const getTableFieldsRequestConfig: GetTableFieldsRequestConfig = {
  mockUrl: mockUrl_0_1_0_5,
  devUrl: devUrl_0_1_0_5,
  prodUrl: prodUrl_0_1_0_5,
  path: '/table/fields',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_5,
  paramNames: [],
  queryNames: ['tableName'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getTableFields',
}

/**
 * 接口 [数据表可用字段↗](https://yapi.mcisaas.com/project/371/interface/api/45399) 的 **请求函数**
 *
 * @分类 [数据表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6412)
 * @标签 `数据表`
 * @请求头 `GET /table/fields`
 * @更新时间 `2024-05-29 16:46:03`
 */
export const getTableFields = makeRequest<IGetTableFieldsReq, IGetTableFieldsRes, GetTableFieldsRequestConfig>(
  getTableFieldsRequestConfig,
)

const mockUrl_0_1_0_6 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_6 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_6 = '' as any
const dataKey_0_1_0_6 = 'data' as any

/**
 * 接口 [查询执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45574) 的 **请求类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/detail`
 * @更新时间 `2024-05-29 16:46:09`
 */
export interface IGetExecResultDetailReq {
  execId: string
  flowId: string
}

/**
 * 接口 [查询执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45574) 的 **返回类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/detail`
 * @更新时间 `2024-05-29 16:46:09`
 */
export type IGetExecResultDetailRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 执行请求id
   */
  execId?: string
  /**
   * 执行规则id
   */
  flowId?: string
  /**
   * 执行节点Id
   */
  nodeId?: string
  /**
   * 节点类型
   */
  nodeType?:
    | 'START'
    | 'END'
    | 'BRANCH'
    | 'DATA_LOAD'
    | 'DATA_AGG'
    | 'FEATURE'
    | 'MODEL'
    | 'RULE'
    | 'MANUAL'
    | 'DATA_MODIFY'
  /**
   * 父节点Id
   */
  parentId?: string
  /**
   * 异常信息
   */
  errorMsg?: string
  /**
   * 执行参数
   */
  execParams?: {}
  /**
   * 执行结果
   */
  execResult?: {}[]
  /**
   * 输出变量列表
   */
  outputVars?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
  /**
   * 是否有异常
   */
  hasError?: number
  /**
   * 执行时间
   */
  spendTime?: string
  /**
   * 执行状态
   */
  execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
  /**
   * 创建时间
   */
  createTime?: string
}[]

/**
 * 接口 [查询执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45574) 的 **请求配置的类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/detail`
 * @更新时间 `2024-05-29 16:46:09`
 */
type GetExecResultDetailRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/exec-result/detail',
    'data',
    string,
    'execId' | 'flowId',
    false
  >
>

/**
 * 接口 [查询执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45574) 的 **请求配置**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/detail`
 * @更新时间 `2024-05-29 16:46:09`
 */
const getExecResultDetailRequestConfig: GetExecResultDetailRequestConfig = {
  mockUrl: mockUrl_0_1_0_6,
  devUrl: devUrl_0_1_0_6,
  prodUrl: prodUrl_0_1_0_6,
  path: '/exec-result/detail',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_6,
  paramNames: [],
  queryNames: ['execId', 'flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getExecResultDetail',
}

/**
 * 接口 [查询执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45574) 的 **请求函数**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/detail`
 * @更新时间 `2024-05-29 16:46:09`
 */
export const getExecResultDetail = makeRequest<
  IGetExecResultDetailReq,
  IGetExecResultDetailRes,
  GetExecResultDetailRequestConfig
>(getExecResultDetailRequestConfig)

/**
 * 接口 [根据节点Id查询节点执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/45609) 的 **请求类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/get`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IGetExecResultGetReq {
  execId: string
  flowId: string
  nodeId: string
}

/**
 * 接口 [根据节点Id查询节点执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/45609) 的 **返回类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/get`
 * @更新时间 `2024-05-29 16:46:10`
 */
export type IGetExecResultGetRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 执行请求id
   */
  execId?: string
  /**
   * 执行规则id
   */
  flowId?: string
  /**
   * 执行节点Id
   */
  nodeId?: string
  /**
   * 节点类型
   */
  nodeType?:
    | 'START'
    | 'END'
    | 'BRANCH'
    | 'DATA_LOAD'
    | 'DATA_AGG'
    | 'FEATURE'
    | 'MODEL'
    | 'RULE'
    | 'MANUAL'
    | 'DATA_MODIFY'
  /**
   * 父节点Id
   */
  parentId?: string
  /**
   * 异常信息
   */
  errorMsg?: string
  /**
   * 执行参数
   */
  execParams?: {}
  /**
   * 执行结果
   */
  execResult?: {}[]
  /**
   * 输出变量列表
   */
  outputVars?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
  /**
   * 是否有异常
   */
  hasError?: number
  /**
   * 执行时间
   */
  spendTime?: string
  /**
   * 执行状态
   */
  execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
  /**
   * 创建时间
   */
  createTime?: string
}[]

/**
 * 接口 [根据节点Id查询节点执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/45609) 的 **请求配置的类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/get`
 * @更新时间 `2024-05-29 16:46:10`
 */
type GetExecResultGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/exec-result/get',
    'data',
    string,
    'execId' | 'flowId' | 'nodeId',
    false
  >
>

/**
 * 接口 [根据节点Id查询节点执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/45609) 的 **请求配置**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/get`
 * @更新时间 `2024-05-29 16:46:10`
 */
const getExecResultGetRequestConfig: GetExecResultGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_6,
  devUrl: devUrl_0_1_0_6,
  prodUrl: prodUrl_0_1_0_6,
  path: '/exec-result/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_6,
  paramNames: [],
  queryNames: ['execId', 'flowId', 'nodeId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getExecResultGet',
}

/**
 * 接口 [根据节点Id查询节点执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/45609) 的 **请求函数**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `GET /exec-result/get`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const getExecResultGet = makeRequest<IGetExecResultGetReq, IGetExecResultGetRes, GetExecResultGetRequestConfig>(
  getExecResultGetRequestConfig,
)

/**
 * 接口 [分页查询案件库↗](https://yapi.mcisaas.com/project/371/interface/api/45637) 的 **请求类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `POST /manual-case/query`
 * @更新时间 `2024-05-29 16:46:11`
 */
export interface IPostManualCaseQueryReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  /**
   * 流程id
   */
  flowId?: string
  /**
   * 流程id列表
   */
  flowIds?: number[]
  /**
   * 执行id
   */
  execId?: string
  /**
   * 批次id
   */
  batchId?: string
  /**
   * 审批人
   */
  approveUser?: string
  /**
   * 审批状态
   */
  approveStatus?: number
}

/**
 * 接口 [分页查询案件库↗](https://yapi.mcisaas.com/project/371/interface/api/45637) 的 **返回类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `POST /manual-case/query`
 * @更新时间 `2024-05-29 16:46:11`
 */
/**
 * 分页结果
 */
export interface IPostManualCaseQueryRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 执行请求id
     */
    execId?: string
    /**
     * 批次id
     */
    batchId?: string
    /**
     * 决策流目录
     */
    categoryName?: string
    /**
     * 执行规则id
     */
    flowId?: string
    /**
     * 决策流名称
     */
    flowName?: string
    /**
     * 决策流版本
     */
    versionNo?: string
    /**
     * 权重
     */
    weight?: number
    /**
     * 执行节点名称
     */
    nodeName?: string
    /**
     * 执行节点Id
     */
    nodeId?: string
    /**
     * 上一执行节点
     */
    parentId?: string
    /**
     * 节点类型
     */
    nodeType?: number
    /**
     * 执行参数
     */
    execParamList?: string
    /**
     * 执行结果 -1:拒绝，0:待定， 1:通过
     */
    decisionRet?: number
    /**
     * 审批人
     */
    approver?: string
    /**
     * 创建时间
     */
    createTime?: string
    /**
     * 创建人
     */
    creator?: string
    /**
     * 审核人
     */
    updater?: string
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [分页查询案件库↗](https://yapi.mcisaas.com/project/371/interface/api/45637) 的 **请求配置的类型**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `POST /manual-case/query`
 * @更新时间 `2024-05-29 16:46:11`
 */
type PostManualCaseQueryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/manual-case/query',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [分页查询案件库↗](https://yapi.mcisaas.com/project/371/interface/api/45637) 的 **请求配置**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `POST /manual-case/query`
 * @更新时间 `2024-05-29 16:46:11`
 */
const postManualCaseQueryRequestConfig: PostManualCaseQueryRequestConfig = {
  mockUrl: mockUrl_0_1_0_6,
  devUrl: devUrl_0_1_0_6,
  prodUrl: prodUrl_0_1_0_6,
  path: '/manual-case/query',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_6,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postManualCaseQuery',
}

/**
 * 接口 [分页查询案件库↗](https://yapi.mcisaas.com/project/371/interface/api/45637) 的 **请求函数**
 *
 * @分类 [执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6414)
 * @标签 `执行结果`
 * @请求头 `POST /manual-case/query`
 * @更新时间 `2024-05-29 16:46:11`
 */
export const postManualCaseQuery = makeRequest<
  IPostManualCaseQueryReq,
  IPostManualCaseQueryRes,
  PostManualCaseQueryRequestConfig
>(postManualCaseQueryRequestConfig)

const mockUrl_0_1_0_7 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_7 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_7 = '' as any
const dataKey_0_1_0_7 = 'data' as any

/**
 * 接口 [新增↗](https://yapi.mcisaas.com/project/371/interface/api/45413) 的 **请求类型**
 *
 * @分类 [执行信息↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6416)
 * @标签 `执行信息`
 * @请求头 `POST /exec-info/add`
 * @更新时间 `2024-02-21 09:31:34`
 */
/**
 * -传输对象
 */
export interface IPostExecInfoAddReq {
  /**
   * 主键ID
   */
  id?: number
  /**
   * 请求参数
   */
  paramJson?: string
  /**
   * 执行规则id
   */
  routerUuid?: number
  /**
   * 对象id
   */
  objectId?: number
  /**
   * 调度执行Id
   */
  scheduleId?: number
}

/**
 * 接口 [新增↗](https://yapi.mcisaas.com/project/371/interface/api/45413) 的 **返回类型**
 *
 * @分类 [执行信息↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6416)
 * @标签 `执行信息`
 * @请求头 `POST /exec-info/add`
 * @更新时间 `2024-02-21 09:31:34`
 */
export type IPostExecInfoAddRes = boolean

/**
 * 接口 [新增↗](https://yapi.mcisaas.com/project/371/interface/api/45413) 的 **请求配置的类型**
 *
 * @分类 [执行信息↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6416)
 * @标签 `执行信息`
 * @请求头 `POST /exec-info/add`
 * @更新时间 `2024-02-21 09:31:34`
 */
type PostExecInfoAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/exec-info/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增↗](https://yapi.mcisaas.com/project/371/interface/api/45413) 的 **请求配置**
 *
 * @分类 [执行信息↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6416)
 * @标签 `执行信息`
 * @请求头 `POST /exec-info/add`
 * @更新时间 `2024-02-21 09:31:34`
 */
const postExecInfoAddRequestConfig: PostExecInfoAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_7,
  devUrl: devUrl_0_1_0_7,
  prodUrl: prodUrl_0_1_0_7,
  path: '/exec-info/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_7,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postExecInfoAdd',
}

/**
 * 接口 [新增↗](https://yapi.mcisaas.com/project/371/interface/api/45413) 的 **请求函数**
 *
 * @分类 [执行信息↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6416)
 * @标签 `执行信息`
 * @请求头 `POST /exec-info/add`
 * @更新时间 `2024-02-21 09:31:34`
 */
export const postExecInfoAdd = makeRequest<IPostExecInfoAddReq, IPostExecInfoAddRes, PostExecInfoAddRequestConfig>(
  postExecInfoAddRequestConfig,
)

const mockUrl_0_1_0_8 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_8 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_8 = '' as any
const dataKey_0_1_0_8 = 'data' as any

/**
 * 接口 [新增场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45420) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
/**
 * 场景分类-传输对象
 */
export interface IPostCategoryAddReq {
  /**
   * 分类名称
   */
  categoryName?: string
  /**
   * icon
   */
  icon?: string
  /**
   * 用户列表
   */
  roleUsers: {
    /**
     * 角色id
     */
    roleId?: string
    /**
     * 用户名列表
     */
    accountNames?: string[]
  }[]
}

/**
 * 接口 [新增场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45420) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
export interface IPostCategoryAddRes {}

/**
 * 接口 [新增场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45420) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
type PostCategoryAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45420) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
const postCategoryAddRequestConfig: PostCategoryAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postCategoryAdd',
}

/**
 * 接口 [新增场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45420) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/add`
 * @更新时间 `2024-05-29 16:46:03`
 */
export const postCategoryAdd = makeRequest<IPostCategoryAddReq, IPostCategoryAddRes, PostCategoryAddRequestConfig>(
  postCategoryAddRequestConfig,
)

/**
 * 接口 [查询用户的分类↗](https://yapi.mcisaas.com/project/371/interface/api/45630) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/listByUser`
 * @更新时间 `2024-05-29 16:46:11`
 */
export interface IGetCategoryListByUserReq {}

/**
 * 接口 [查询用户的分类↗](https://yapi.mcisaas.com/project/371/interface/api/45630) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/listByUser`
 * @更新时间 `2024-05-29 16:46:11`
 */
export type IGetCategoryListByUserRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 分类名称
   */
  categoryName?: string
  /**
   * icon
   */
  icon?: string
}[]

/**
 * 接口 [查询用户的分类↗](https://yapi.mcisaas.com/project/371/interface/api/45630) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/listByUser`
 * @更新时间 `2024-05-29 16:46:11`
 */
type GetCategoryListByUserRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/listByUser',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [查询用户的分类↗](https://yapi.mcisaas.com/project/371/interface/api/45630) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/listByUser`
 * @更新时间 `2024-05-29 16:46:11`
 */
const getCategoryListByUserRequestConfig: GetCategoryListByUserRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/listByUser',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getCategoryListByUser',
}

/**
 * 接口 [查询用户的分类↗](https://yapi.mcisaas.com/project/371/interface/api/45630) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/listByUser`
 * @更新时间 `2024-05-29 16:46:11`
 */
export const getCategoryListByUser = makeRequest<
  IGetCategoryListByUserReq,
  IGetCategoryListByUserRes,
  GetCategoryListByUserRequestConfig
>(getCategoryListByUserRequestConfig)

/**
 * 接口 [场景分类新增权限↗](https://yapi.mcisaas.com/project/371/interface/api/45679) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/addAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostCategoryAddAuthoritiesReq {
  /**
   * 分类ID
   */
  categoryId: string
  /**
   * 用户列表
   */
  roleUsers: {
    /**
     * 角色id
     */
    roleId?: string
    /**
     * 用户名列表
     */
    accountNames?: string[]
  }[]
}

/**
 * 接口 [场景分类新增权限↗](https://yapi.mcisaas.com/project/371/interface/api/45679) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/addAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IPostCategoryAddAuthoritiesRes {}

/**
 * 接口 [场景分类新增权限↗](https://yapi.mcisaas.com/project/371/interface/api/45679) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/addAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
type PostCategoryAddAuthoritiesRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/addAuthorities',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [场景分类新增权限↗](https://yapi.mcisaas.com/project/371/interface/api/45679) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/addAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
const postCategoryAddAuthoritiesRequestConfig: PostCategoryAddAuthoritiesRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/addAuthorities',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postCategoryAddAuthorities',
}

/**
 * 接口 [场景分类新增权限↗](https://yapi.mcisaas.com/project/371/interface/api/45679) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/addAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export const postCategoryAddAuthorities = makeRequest<
  IPostCategoryAddAuthoritiesReq,
  IPostCategoryAddAuthoritiesRes,
  PostCategoryAddAuthoritiesRequestConfig
>(postCategoryAddAuthoritiesRequestConfig)

/**
 * 接口 [查询场景分类权限↗](https://yapi.mcisaas.com/project/371/interface/api/45686) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/getAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IGetCategoryGetAuthoritiesReq {
  categoryId: string
}

/**
 * 接口 [查询场景分类权限↗](https://yapi.mcisaas.com/project/371/interface/api/45686) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/getAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export type IGetCategoryGetAuthoritiesRes = {
  /**
   * 角色id
   */
  roleId?: string
  /**
   * 用户名列表
   */
  accountNames?: string[]
  /**
   * 用户名列表
   */
  users?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 账户名(kc的唯一username)
     */
    accountName?: string
    /**
     * 中文名
     */
    username?: string
    /**
     * 对应全流程用户Id
     */
    userId?: string
    /**
     * 对应全流程用户的Id
     */
    userBaseId?: string
    /**
     * 用户角色列表
     */
    roles?: {
      entId?: string
      roleCode?: string
      roleEngName?: string
      roleId?: string
      roleName?: string
    }[]
    /**
     * 是否拥有系统权限
     */
    hasPermission?: boolean
  }[]
}[]

/**
 * 接口 [查询场景分类权限↗](https://yapi.mcisaas.com/project/371/interface/api/45686) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/getAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
type GetCategoryGetAuthoritiesRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/getAuthorities',
    'data',
    string,
    'categoryId',
    false
  >
>

/**
 * 接口 [查询场景分类权限↗](https://yapi.mcisaas.com/project/371/interface/api/45686) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/getAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
const getCategoryGetAuthoritiesRequestConfig: GetCategoryGetAuthoritiesRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/getAuthorities',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: ['categoryId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getCategoryGetAuthorities',
}

/**
 * 接口 [查询场景分类权限↗](https://yapi.mcisaas.com/project/371/interface/api/45686) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/getAuthorities`
 * @更新时间 `2024-05-29 16:46:13`
 */
export const getCategoryGetAuthorities = makeRequest<
  IGetCategoryGetAuthoritiesReq,
  IGetCategoryGetAuthoritiesRes,
  GetCategoryGetAuthoritiesRequestConfig
>(getCategoryGetAuthoritiesRequestConfig)

/**
 * 接口 [删除场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45714) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/delete`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostCategoryDeleteReq {
  id: string
}

/**
 * 接口 [删除场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45714) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/delete`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IPostCategoryDeleteRes {}

/**
 * 接口 [删除场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45714) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/delete`
 * @更新时间 `2024-05-29 16:46:14`
 */
type PostCategoryDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/delete',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [删除场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45714) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/delete`
 * @更新时间 `2024-05-29 16:46:14`
 */
const postCategoryDeleteRequestConfig: PostCategoryDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postCategoryDelete',
}

/**
 * 接口 [删除场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/45714) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/delete`
 * @更新时间 `2024-05-29 16:46:14`
 */
export const postCategoryDelete = makeRequest<
  IPostCategoryDeleteReq,
  IPostCategoryDeleteRes,
  PostCategoryDeleteRequestConfig
>(postCategoryDeleteRequestConfig)

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48150) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/rename`
 * @更新时间 `2024-04-03 10:16:12`
 */
export interface IGetCategoryRenameReq {
  categoryId: string
  categoryName: string
}

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48150) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/rename`
 * @更新时间 `2024-04-03 10:16:12`
 */
export type IGetCategoryRenameRes = boolean

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48150) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/rename`
 * @更新时间 `2024-04-03 10:16:12`
 */
type GetCategoryRenameRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/rename',
    'data',
    string,
    'categoryId' | 'categoryName',
    false
  >
>

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48150) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/rename`
 * @更新时间 `2024-04-03 10:16:12`
 */
const getCategoryRenameRequestConfig: GetCategoryRenameRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/rename',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: ['categoryId', 'categoryName'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getCategoryRename',
}

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48150) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `GET /category/rename`
 * @更新时间 `2024-04-03 10:16:12`
 */
export const getCategoryRename = makeRequest<
  IGetCategoryRenameReq,
  IGetCategoryRenameRes,
  GetCategoryRenameRequestConfig
>(getCategoryRenameRequestConfig)

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48325) 的 **请求类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostCategoryRenameReq {
  categoryId: string
  categoryName: string
}

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48325) 的 **返回类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export type IPostCategoryRenameRes = boolean

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48325) 的 **请求配置的类型**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
type PostCategoryRenameRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/category/rename',
    'data',
    string,
    'categoryId' | 'categoryName',
    false
  >
>

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48325) 的 **请求配置**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
const postCategoryRenameRequestConfig: PostCategoryRenameRequestConfig = {
  mockUrl: mockUrl_0_1_0_8,
  devUrl: devUrl_0_1_0_8,
  prodUrl: prodUrl_0_1_0_8,
  path: '/category/rename',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_8,
  paramNames: [],
  queryNames: ['categoryId', 'categoryName'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postCategoryRename',
}

/**
 * 接口 [场景分类重命名↗](https://yapi.mcisaas.com/project/371/interface/api/48325) 的 **请求函数**
 *
 * @分类 [场景分类↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6418)
 * @标签 `场景分类`
 * @请求头 `POST /category/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export const postCategoryRename = makeRequest<
  IPostCategoryRenameReq,
  IPostCategoryRenameRes,
  PostCategoryRenameRequestConfig
>(postCategoryRenameRequestConfig)

const mockUrl_0_1_0_9 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_9 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_9 = '' as any
const dataKey_0_1_0_9 = 'data' as any

/**
 * 接口 [新增模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45252) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
/**
 * 算法模型表-传输对象
 */
export interface IPostModelAddReq {
  /**
   * 模型名称
   */
  modelName: string
  /**
   * 模型描述
   */
  modelDesc?: string
  /**
   * 变量类型，0: 自定义入参，1：依赖前置节点
   */
  varMode?: number
  /**
   * 使用的解析模板
   */
  modelTemplate?: string
  /**
   * 模型调用地址
   */
  httpUrl: string
  /**
   * HTTP调用方法
   */
  httpMethod: string
  /**
   * 场景分类id，为0时，代表是通用模型
   */
  categoryId?: string
  /**
   * 组装请求参数和Header的脚本
   */
  serializeScript: string
  /**
   * 序列化类型
   */
  serializeType: 'JSON' | 'XML'
  /**
   * 模型入参变量列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [新增模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45252) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
export type IPostModelAddRes = string

/**
 * 接口 [新增模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45252) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
type PostModelAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45252) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
const postModelAddRequestConfig: PostModelAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelAdd',
}

/**
 * 接口 [新增模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45252) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/add`
 * @更新时间 `2024-05-29 16:45:58`
 */
export const postModelAdd = makeRequest<IPostModelAddReq, IPostModelAddRes, PostModelAddRequestConfig>(
  postModelAddRequestConfig,
)

/**
 * 接口 [修改模型↗](https://yapi.mcisaas.com/project/371/interface/api/45497) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/update`
 * @更新时间 `2024-05-29 16:46:06`
 */
/**
 * 算法模型表-传输对象
 */
export interface IPostModelUpdateReq {
  /**
   * 模型名称
   */
  modelName: string
  /**
   * 模型描述
   */
  modelDesc?: string
  /**
   * 变量类型，0: 自定义入参，1：依赖前置节点
   */
  varMode?: number
  /**
   * 使用的解析模板
   */
  modelTemplate?: string
  /**
   * 模型调用地址
   */
  httpUrl: string
  /**
   * HTTP调用方法
   */
  httpMethod: string
  /**
   * 场景分类id，为0时，代表是通用模型
   */
  categoryId?: string
  /**
   * 组装请求参数和Header的脚本
   */
  serializeScript: string
  /**
   * 序列化类型
   */
  serializeType: 'JSON' | 'XML'
  /**
   * 模型入参变量列表
   */
  variables?: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
  id: string
}

/**
 * 接口 [修改模型↗](https://yapi.mcisaas.com/project/371/interface/api/45497) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/update`
 * @更新时间 `2024-05-29 16:46:06`
 */
export interface IPostModelUpdateRes {}

/**
 * 接口 [修改模型↗](https://yapi.mcisaas.com/project/371/interface/api/45497) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/update`
 * @更新时间 `2024-05-29 16:46:06`
 */
type PostModelUpdateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/update',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [修改模型↗](https://yapi.mcisaas.com/project/371/interface/api/45497) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/update`
 * @更新时间 `2024-05-29 16:46:06`
 */
const postModelUpdateRequestConfig: PostModelUpdateRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/update',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelUpdate',
}

/**
 * 接口 [修改模型↗](https://yapi.mcisaas.com/project/371/interface/api/45497) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/update`
 * @更新时间 `2024-05-29 16:46:06`
 */
export const postModelUpdate = makeRequest<IPostModelUpdateReq, IPostModelUpdateRes, PostModelUpdateRequestConfig>(
  postModelUpdateRequestConfig,
)

/**
 * 接口 [测试模型获取结果↗](https://yapi.mcisaas.com/project/371/interface/api/45504) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/execute`
 * @更新时间 `2024-05-29 16:46:06`
 */
/**
 * 算法模型表-传输对象
 */
export interface IPostModelExecuteReq {
  /**
   * 模型id
   */
  modelId?: string
  /**
   * 模型参数
   */
  param?: {}
}

/**
 * 接口 [测试模型获取结果↗](https://yapi.mcisaas.com/project/371/interface/api/45504) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/execute`
 * @更新时间 `2024-05-29 16:46:06`
 */
export type IPostModelExecuteRes = {}[]

/**
 * 接口 [测试模型获取结果↗](https://yapi.mcisaas.com/project/371/interface/api/45504) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/execute`
 * @更新时间 `2024-05-29 16:46:06`
 */
type PostModelExecuteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/execute',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [测试模型获取结果↗](https://yapi.mcisaas.com/project/371/interface/api/45504) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/execute`
 * @更新时间 `2024-05-29 16:46:06`
 */
const postModelExecuteRequestConfig: PostModelExecuteRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/execute',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelExecute',
}

/**
 * 接口 [测试模型获取结果↗](https://yapi.mcisaas.com/project/371/interface/api/45504) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/execute`
 * @更新时间 `2024-05-29 16:46:06`
 */
export const postModelExecute = makeRequest<IPostModelExecuteReq, IPostModelExecuteRes, PostModelExecuteRequestConfig>(
  postModelExecuteRequestConfig,
)

/**
 * 接口 [分页查询可用的API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45511) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/enabled/page`
 * @更新时间 `2024-05-29 16:46:07`
 */
/**
 * 分页参数
 */
export interface IPostModelEnabledPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
}

/**
 * 接口 [分页查询可用的API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45511) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/enabled/page`
 * @更新时间 `2024-05-29 16:46:07`
 */
/**
 * 分页结果
 */
export interface IPostModelEnabledPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 模型名称
     */
    modelName?: string
    /**
     * 模型描述
     */
    modelDesc?: string
    /**
     * 模型状态, 0: 未发布, 1: 已发布(先默认传1)
     */
    modelStatus?: number
    /**
     * 变量类型，0: 自定义入参，1：依赖前置节点
     */
    varMode?: number
    /**
     * 使用的解析模板
     */
    modelTemplate?: string
    /**
     * 模型调用地址
     */
    httpUrl?: string
    /**
     * HTTP调用方法
     */
    httpMethod?: string
    /**
     * 上一次执行模型入参
     */
    paramsJson?: {}
    /**
     * 场景分类id，为0时，代表是通用模型
     */
    categoryId?: string
    /**
     * 组装请求参数和Header的脚本
     */
    serializeScript?: string
    /**
     * 序列化类型，JSON, XML
     */
    serializeType?: 'JSON' | 'XML'
    /**
     * 模型入参变量列表
     */
    variables?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 流程id
       */
      flowId?: string
      /**
       * 对象id
       */
      objectId?: string
      /**
       * 对应的对象类型
       */
      objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
      /**
       * 字段名称
       */
      varName?: string
      /**
       * 字段中文名
       */
      varLabel?: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 数据作用域 0: 请求，1: 赋值
       */
      scope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
      /**
       * 枚举选项
       */
      options?: {
        key?: {}
        value?: {}
      }[]
    }[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [分页查询可用的API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45511) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/enabled/page`
 * @更新时间 `2024-05-29 16:46:07`
 */
type PostModelEnabledPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/enabled/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [分页查询可用的API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45511) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/enabled/page`
 * @更新时间 `2024-05-29 16:46:07`
 */
const postModelEnabledPageRequestConfig: PostModelEnabledPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/enabled/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelEnabledPage',
}

/**
 * 接口 [分页查询可用的API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45511) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/enabled/page`
 * @更新时间 `2024-05-29 16:46:07`
 */
export const postModelEnabledPage = makeRequest<
  IPostModelEnabledPageReq,
  IPostModelEnabledPageRes,
  PostModelEnabledPageRequestConfig
>(postModelEnabledPageRequestConfig)

/**
 * 接口 [获取解析模板↗](https://yapi.mcisaas.com/project/371/interface/api/45525) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/template`
 * @更新时间 `2024-05-29 16:46:07`
 */
export interface IGetModelTemplateReq {
  templateName: string
}

/**
 * 接口 [获取解析模板↗](https://yapi.mcisaas.com/project/371/interface/api/45525) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/template`
 * @更新时间 `2024-05-29 16:46:07`
 */
export type IGetModelTemplateRes = string

/**
 * 接口 [获取解析模板↗](https://yapi.mcisaas.com/project/371/interface/api/45525) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/template`
 * @更新时间 `2024-05-29 16:46:07`
 */
type GetModelTemplateRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/template',
    'data',
    string,
    'templateName',
    false
  >
>

/**
 * 接口 [获取解析模板↗](https://yapi.mcisaas.com/project/371/interface/api/45525) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/template`
 * @更新时间 `2024-05-29 16:46:07`
 */
const getModelTemplateRequestConfig: GetModelTemplateRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/template',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: ['templateName'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getModelTemplate',
}

/**
 * 接口 [获取解析模板↗](https://yapi.mcisaas.com/project/371/interface/api/45525) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/template`
 * @更新时间 `2024-05-29 16:46:07`
 */
export const getModelTemplate = makeRequest<IGetModelTemplateReq, IGetModelTemplateRes, GetModelTemplateRequestConfig>(
  getModelTemplateRequestConfig,
)

/**
 * 接口 [执行模型获取结果，给全流程的接口↗](https://yapi.mcisaas.com/project/371/interface/api/45756) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/{modelId}/exchange`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostModelExchangeReq {
  modelId: string
}

/**
 * 接口 [执行模型获取结果，给全流程的接口↗](https://yapi.mcisaas.com/project/371/interface/api/45756) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/{modelId}/exchange`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IPostModelExchangeRes {}

/**
 * 接口 [执行模型获取结果，给全流程的接口↗](https://yapi.mcisaas.com/project/371/interface/api/45756) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/{modelId}/exchange`
 * @更新时间 `2024-05-29 16:46:15`
 */
type PostModelExchangeRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/{modelId}/exchange',
    'data',
    'modelId',
    string,
    false
  >
>

/**
 * 接口 [执行模型获取结果，给全流程的接口↗](https://yapi.mcisaas.com/project/371/interface/api/45756) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/{modelId}/exchange`
 * @更新时间 `2024-05-29 16:46:15`
 */
const postModelExchangeRequestConfig: PostModelExchangeRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/{modelId}/exchange',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: ['modelId'],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelExchange',
}

/**
 * 接口 [执行模型获取结果，给全流程的接口↗](https://yapi.mcisaas.com/project/371/interface/api/45756) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/{modelId}/exchange`
 * @更新时间 `2024-05-29 16:46:15`
 */
export const postModelExchange = makeRequest<
  IPostModelExchangeReq,
  IPostModelExchangeRes,
  PostModelExchangeRequestConfig
>(postModelExchangeRequestConfig)

/**
 * 接口 [结果字段提取\/添加↗](https://yapi.mcisaas.com/project/371/interface/api/45777) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/variable/add`
 * @更新时间 `2024-05-29 16:46:16`
 */
export interface IPostModelVariableAddReq {
  /**
   * 模型id
   */
  modelId: string
  /**
   * 变量列表
   */
  variables: {
    /**
     * 字段名称
     */
    varName: string
    /**
     * 字段中文名
     */
    varLabel: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 字段作用域 0: 请求, 1: 响应
     */
    fieldScope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
  }[]
}

/**
 * 接口 [结果字段提取\/添加↗](https://yapi.mcisaas.com/project/371/interface/api/45777) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/variable/add`
 * @更新时间 `2024-05-29 16:46:16`
 */
export interface IPostModelVariableAddRes {}

/**
 * 接口 [结果字段提取\/添加↗](https://yapi.mcisaas.com/project/371/interface/api/45777) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/variable/add`
 * @更新时间 `2024-05-29 16:46:16`
 */
type PostModelVariableAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/variable/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [结果字段提取\/添加↗](https://yapi.mcisaas.com/project/371/interface/api/45777) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/variable/add`
 * @更新时间 `2024-05-29 16:46:16`
 */
const postModelVariableAddRequestConfig: PostModelVariableAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/variable/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelVariableAdd',
}

/**
 * 接口 [结果字段提取\/添加↗](https://yapi.mcisaas.com/project/371/interface/api/45777) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/variable/add`
 * @更新时间 `2024-05-29 16:46:16`
 */
export const postModelVariableAdd = makeRequest<
  IPostModelVariableAddReq,
  IPostModelVariableAddRes,
  PostModelVariableAddRequestConfig
>(postModelVariableAddRequestConfig)

/**
 * 接口 [根据名称查询模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45784) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/query`
 * @更新时间 `2024-05-29 16:46:16`
 */
export interface IPostModelQueryReq {
  modelName: string
}

/**
 * 接口 [根据名称查询模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45784) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/query`
 * @更新时间 `2024-05-29 16:46:16`
 */
export type IPostModelQueryRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 模型名称
   */
  modelName?: string
  /**
   * 模型描述
   */
  modelDesc?: string
  /**
   * 模型状态, 0: 未发布, 1: 已发布(先默认传1)
   */
  modelStatus?: number
  /**
   * 变量类型，0: 自定义入参，1：依赖前置节点
   */
  varMode?: number
  /**
   * 使用的解析模板
   */
  modelTemplate?: string
  /**
   * 模型调用地址
   */
  httpUrl?: string
  /**
   * HTTP调用方法
   */
  httpMethod?: string
  /**
   * 上一次执行模型入参
   */
  paramsJson?: {}
  /**
   * 场景分类id，为0时，代表是通用模型
   */
  categoryId?: string
  /**
   * 组装请求参数和Header的脚本
   */
  serializeScript?: string
  /**
   * 序列化类型，JSON, XML
   */
  serializeType?: 'JSON' | 'XML'
  /**
   * 模型入参变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}[]

/**
 * 接口 [根据名称查询模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45784) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/query`
 * @更新时间 `2024-05-29 16:46:16`
 */
type PostModelQueryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/query',
    'data',
    string,
    'modelName',
    false
  >
>

/**
 * 接口 [根据名称查询模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45784) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/query`
 * @更新时间 `2024-05-29 16:46:16`
 */
const postModelQueryRequestConfig: PostModelQueryRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/query',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: ['modelName'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelQuery',
}

/**
 * 接口 [根据名称查询模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45784) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/query`
 * @更新时间 `2024-05-29 16:46:16`
 */
export const postModelQuery = makeRequest<IPostModelQueryReq, IPostModelQueryRes, PostModelQueryRequestConfig>(
  postModelQueryRequestConfig,
)

/**
 * 接口 [分页查询所有模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45791) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/page`
 * @更新时间 `2024-05-29 16:46:16`
 */
/**
 * 分页参数
 */
export interface IPostModelPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
}

/**
 * 接口 [分页查询所有模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45791) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/page`
 * @更新时间 `2024-05-29 16:46:16`
 */
/**
 * 分页结果
 */
export interface IPostModelPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 模型名称
     */
    modelName?: string
    /**
     * 模型描述
     */
    modelDesc?: string
    /**
     * 模型状态, 0: 未发布, 1: 已发布(先默认传1)
     */
    modelStatus?: number
    /**
     * 变量类型，0: 自定义入参，1：依赖前置节点
     */
    varMode?: number
    /**
     * 使用的解析模板
     */
    modelTemplate?: string
    /**
     * 模型调用地址
     */
    httpUrl?: string
    /**
     * HTTP调用方法
     */
    httpMethod?: string
    /**
     * 上一次执行模型入参
     */
    paramsJson?: {}
    /**
     * 场景分类id，为0时，代表是通用模型
     */
    categoryId?: string
    /**
     * 组装请求参数和Header的脚本
     */
    serializeScript?: string
    /**
     * 序列化类型，JSON, XML
     */
    serializeType?: 'JSON' | 'XML'
    /**
     * 模型入参变量列表
     */
    variables?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 流程id
       */
      flowId?: string
      /**
       * 对象id
       */
      objectId?: string
      /**
       * 对应的对象类型
       */
      objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
      /**
       * 字段名称
       */
      varName?: string
      /**
       * 字段中文名
       */
      varLabel?: string
      /**
       * 字段类型 0: 字符, 1: 整数, 2:浮点数
       */
      varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
      /**
       * 数据作用域 0: 请求，1: 赋值
       */
      scope?: 'REQUEST' | 'RESPONSE'
      /**
       * 初始值
       */
      initValue?: string
      /**
       * 枚举选项
       */
      options?: {
        key?: {}
        value?: {}
      }[]
    }[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [分页查询所有模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45791) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/page`
 * @更新时间 `2024-05-29 16:46:16`
 */
type PostModelPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [分页查询所有模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45791) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/page`
 * @更新时间 `2024-05-29 16:46:16`
 */
const postModelPageRequestConfig: PostModelPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelPage',
}

/**
 * 接口 [分页查询所有模型API列表↗](https://yapi.mcisaas.com/project/371/interface/api/45791) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/page`
 * @更新时间 `2024-05-29 16:46:16`
 */
export const postModelPage = makeRequest<IPostModelPageReq, IPostModelPageRes, PostModelPageRequestConfig>(
  postModelPageRequestConfig,
)

/**
 * 接口 [删除模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45798) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/delete`
 * @更新时间 `2024-05-29 16:46:16`
 */
export interface IPostModelDeleteReq {
  id: string
}

/**
 * 接口 [删除模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45798) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/delete`
 * @更新时间 `2024-05-29 16:46:16`
 */
export interface IPostModelDeleteRes {}

/**
 * 接口 [删除模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45798) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/delete`
 * @更新时间 `2024-05-29 16:46:16`
 */
type PostModelDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model/delete',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [删除模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45798) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/delete`
 * @更新时间 `2024-05-29 16:46:16`
 */
const postModelDeleteRequestConfig: PostModelDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelDelete',
}

/**
 * 接口 [删除模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45798) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `POST /model/delete`
 * @更新时间 `2024-05-29 16:46:16`
 */
export const postModelDelete = makeRequest<IPostModelDeleteReq, IPostModelDeleteRes, PostModelDeleteRequestConfig>(
  postModelDeleteRequestConfig,
)

/**
 * 接口 [根据Id查询模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45805) 的 **请求类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/get`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IGetModelGetReq {
  id: string
}

/**
 * 接口 [根据Id查询模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45805) 的 **返回类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/get`
 * @更新时间 `2024-05-29 16:46:17`
 */
/**
 * 算法模型表-传输对象
 */
export interface IGetModelGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 模型名称
   */
  modelName?: string
  /**
   * 模型描述
   */
  modelDesc?: string
  /**
   * 模型状态, 0: 未发布, 1: 已发布(先默认传1)
   */
  modelStatus?: number
  /**
   * 变量类型，0: 自定义入参，1：依赖前置节点
   */
  varMode?: number
  /**
   * 使用的解析模板
   */
  modelTemplate?: string
  /**
   * 模型调用地址
   */
  httpUrl?: string
  /**
   * HTTP调用方法
   */
  httpMethod?: string
  /**
   * 上一次执行模型入参
   */
  paramsJson?: {}
  /**
   * 场景分类id，为0时，代表是通用模型
   */
  categoryId?: string
  /**
   * 组装请求参数和Header的脚本
   */
  serializeScript?: string
  /**
   * 序列化类型，JSON, XML
   */
  serializeType?: 'JSON' | 'XML'
  /**
   * 模型入参变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}

/**
 * 接口 [根据Id查询模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45805) 的 **请求配置的类型**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/get`
 * @更新时间 `2024-05-29 16:46:17`
 */
type GetModelGetRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/model/get', 'data', string, 'id', false>
>

/**
 * 接口 [根据Id查询模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45805) 的 **请求配置**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/get`
 * @更新时间 `2024-05-29 16:46:17`
 */
const getModelGetRequestConfig: GetModelGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_9,
  devUrl: devUrl_0_1_0_9,
  prodUrl: prodUrl_0_1_0_9,
  path: '/model/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_9,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getModelGet',
}

/**
 * 接口 [根据Id查询模型API↗](https://yapi.mcisaas.com/project/371/interface/api/45805) 的 **请求函数**
 *
 * @分类 [API模型↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6420)
 * @标签 `API模型`
 * @请求头 `GET /model/get`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const getModelGet = makeRequest<IGetModelGetReq, IGetModelGetRes, GetModelGetRequestConfig>(
  getModelGetRequestConfig,
)

const mockUrl_0_1_0_10 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_10 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_10 = '' as any
const dataKey_0_1_0_10 = 'data' as any

/**
 * 接口 [查询↗](https://yapi.mcisaas.com/project/371/interface/api/45553) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `POST /flow-result/page`
 * @更新时间 `2024-05-29 16:46:08`
 */
export interface IPostFlowResultPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  /**
   * 执行决策流Id
   */
  flowId?: string
  /**
   * 执行决策流Id列表
   */
  flowIds?: number[]
  /**
   * 执行请求Id
   */
  execId?: string
  /**
   * 批次Id
   */
  batchId?: string
  /**
   * 执行状态
   */
  status?: string
  /**
   * 执行模式,0:正常,1:人工
   */
  execMode?: number
  /**
   * 决策结果,0:待定,1:通过,-1:拒绝
   */
  decisionRet?: number
  /**
   * 测试模式,0:正常,1:测试
   */
  testMode?: number
  /**
   * drc编码
   */
  drcNo?: string
}

/**
 * 接口 [查询↗](https://yapi.mcisaas.com/project/371/interface/api/45553) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `POST /flow-result/page`
 * @更新时间 `2024-05-29 16:46:08`
 */
/**
 * 分页结果
 */
export interface IPostFlowResultPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 执行请求id
     */
    execId?: string
    /**
     * 批次id
     */
    batchId?: string
    /**
     * 版本号
     */
    versionNo?: string
    /**
     * 权重
     */
    weight?: number
    /**
     * 执行规则id
     */
    flowId?: string
    /**
     * 执行规则名称
     */
    flowName?: string
    /**
     * 执行参数
     */
    execParam?: string
    /**
     * 执行结果
     */
    execResult?: string
    /**
     * 执行状态
     */
    execStatus?: string
    /**
     * 异常信息
     */
    errorMsg?: string
    /**
     * 执行时间
     */
    spendTime?: string
    /**
     * 创建时间
     */
    createTime?: string
    /**
     * 测试模式
     */
    testMode?: number
    /**
     * 执行模式，0: 自动决策，1: 人工干预
     */
    execMode?: number
    /**
     * 决策结果，0: 待定，1: 通过，-1: 拒绝
     */
    decisionRet?: number
    /**
     * 企业idKey，用来关联生成地区或品类报表
     */
    entId?: string
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询↗](https://yapi.mcisaas.com/project/371/interface/api/45553) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `POST /flow-result/page`
 * @更新时间 `2024-05-29 16:46:08`
 */
type PostFlowResultPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询↗](https://yapi.mcisaas.com/project/371/interface/api/45553) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `POST /flow-result/page`
 * @更新时间 `2024-05-29 16:46:08`
 */
const postFlowResultPageRequestConfig: PostFlowResultPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postFlowResultPage',
}

/**
 * 接口 [查询↗](https://yapi.mcisaas.com/project/371/interface/api/45553) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `POST /flow-result/page`
 * @更新时间 `2024-05-29 16:46:08`
 */
export const postFlowResultPage = makeRequest<
  IPostFlowResultPageReq,
  IPostFlowResultPageRes,
  PostFlowResultPageRequestConfig
>(postFlowResultPageRequestConfig)

/**
 * 接口 [查询决策流执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45588) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/exec-details`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IGetFlowResultExecDetailsReq {
  execId: string
  flowId: string
}

/**
 * 接口 [查询决策流执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45588) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/exec-details`
 * @更新时间 `2024-05-29 16:46:10`
 */
export interface IGetFlowResultExecDetailsRes {
  /**
   * 节点执行明细
   */
  nodeResults?: {
    /**
     * 流程Id
     */
    flowId?: string
    /**
     * 执行Id
     */
    execId?: string
    /**
     * 节点Id
     */
    nodeId?: string
    /**
     * 节点名称
     */
    name?: string
    /**
     * 节点类型
     */
    nodeType?:
      | 'START'
      | 'END'
      | 'BRANCH'
      | 'DATA_LOAD'
      | 'DATA_AGG'
      | 'FEATURE'
      | 'MODEL'
      | 'RULE'
      | 'MANUAL'
      | 'DATA_MODIFY'
    /**
     * 父节点分支Id
     */
    parentId?: string
    /**
     * 是否有异常
     */
    hasError?: number
    /**
     * 异常信息
     */
    errorMsg?: string
    /**
     * 节点执行耗时(毫秒)
     */
    spendTimes?: string
    /**
     * 节点输入参数
     */
    inputParams?: {}[]
    /**
     * 节点执行结果
     */
    result?: {
      /**
       * 参数列表
       */
      inputParams?: {}
      /**
       * 结果字段列表
       */
      variables?: {
        /**
         * 主键ID
         */
        id?: string
        /**
         * 流程id
         */
        flowId?: string
        /**
         * 对象id
         */
        objectId?: string
        /**
         * 对应的对象类型
         */
        objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
        /**
         * 字段名称
         */
        varName?: string
        /**
         * 字段中文名
         */
        varLabel?: string
        /**
         * 字段类型 0: 字符, 1: 整数, 2:浮点数
         */
        varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
        /**
         * 数据作用域 0: 请求，1: 赋值
         */
        scope?: 'REQUEST' | 'RESPONSE'
        /**
         * 初始值
         */
        initValue?: string
        /**
         * 枚举选项
         */
        options?: {
          key?: {}
          value?: {}
        }[]
      }[]
      /**
       * 结果集
       */
      results?: {}[]
    }[]
    /**
     * 执行状态
     */
    execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
    /**
     * 执行状态
     */
    createTime?: string
  }[]
  /**
   * 连线执行明细
   */
  lineResults?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 执行请求id
     */
    execId?: string
    /**
     * 执行规则id
     */
    flowId?: string
    /**
     * 执行连线Id
     */
    lineId?: string
    /**
     * 执行参数
     */
    execParams?: {}[]
    /**
     * 执行时间
     */
    spendTime?: string
    /**
     * 执行状态
     */
    execStatus?: 'INIT' | 'WAITING' | 'RUNNING' | 'REJECT' | 'PASS'
  }[]
}

/**
 * 接口 [查询决策流执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45588) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/exec-details`
 * @更新时间 `2024-05-29 16:46:10`
 */
type GetFlowResultExecDetailsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/exec-details',
    'data',
    string,
    'execId' | 'flowId',
    false
  >
>

/**
 * 接口 [查询决策流执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45588) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/exec-details`
 * @更新时间 `2024-05-29 16:46:10`
 */
const getFlowResultExecDetailsRequestConfig: GetFlowResultExecDetailsRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/exec-details',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['execId', 'flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultExecDetails',
}

/**
 * 接口 [查询决策流执行明细↗](https://yapi.mcisaas.com/project/371/interface/api/45588) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/exec-details`
 * @更新时间 `2024-05-29 16:46:10`
 */
export const getFlowResultExecDetails = makeRequest<
  IGetFlowResultExecDetailsReq,
  IGetFlowResultExecDetailsRes,
  GetFlowResultExecDetailsRequestConfig
>(getFlowResultExecDetailsRequestConfig)

/**
 * 接口 [根据决策流Id查询执行汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45889) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summary`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IGetFlowResultSummaryReq {
  flowIds: string
}

/**
 * 接口 [根据决策流Id查询执行汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45889) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summary`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IGetFlowResultSummaryRes {
  /**
   * 总进件数
   */
  total?: string
  /**
   * 通过数
   */
  pass?: string
  /**
   * 拒绝数
   */
  reject?: string
  /**
   * 人工审核数
   */
  manual?: string
}

/**
 * 接口 [根据决策流Id查询执行汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45889) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summary`
 * @更新时间 `2024-05-29 16:46:17`
 */
type GetFlowResultSummaryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/summary',
    'data',
    string,
    'flowIds',
    false
  >
>

/**
 * 接口 [根据决策流Id查询执行汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45889) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summary`
 * @更新时间 `2024-05-29 16:46:17`
 */
const getFlowResultSummaryRequestConfig: GetFlowResultSummaryRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/summary',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['flowIds'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultSummary',
}

/**
 * 接口 [根据决策流Id查询执行汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45889) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summary`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const getFlowResultSummary = makeRequest<
  IGetFlowResultSummaryReq,
  IGetFlowResultSummaryRes,
  GetFlowResultSummaryRequestConfig
>(getFlowResultSummaryRequestConfig)

/**
 * 接口 [根据决策流Id查询执行分月汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45896) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByMonth`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IGetFlowResultSummaryByMonthReq {
  flowIds: string
}

/**
 * 接口 [根据决策流Id查询执行分月汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45896) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByMonth`
 * @更新时间 `2024-05-29 16:46:17`
 */
export type IGetFlowResultSummaryByMonthRes = {
  /**
   * 月份
   */
  month?: string
  /**
   * 总进件数
   */
  total?: string
  /**
   * 通过数
   */
  pass?: string
  /**
   * 拒绝数
   */
  reject?: string
  /**
   * 人工审核数
   */
  manual?: string
  /**
   * 人工通过数
   */
  manualPass?: string
  /**
   * 人工拒绝数
   */
  manualReject?: string
}[]

/**
 * 接口 [根据决策流Id查询执行分月汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45896) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByMonth`
 * @更新时间 `2024-05-29 16:46:17`
 */
type GetFlowResultSummaryByMonthRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/summaryByMonth',
    'data',
    string,
    'flowIds',
    false
  >
>

/**
 * 接口 [根据决策流Id查询执行分月汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45896) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByMonth`
 * @更新时间 `2024-05-29 16:46:17`
 */
const getFlowResultSummaryByMonthRequestConfig: GetFlowResultSummaryByMonthRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/summaryByMonth',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['flowIds'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultSummaryByMonth',
}

/**
 * 接口 [根据决策流Id查询执行分月汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45896) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByMonth`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const getFlowResultSummaryByMonth = makeRequest<
  IGetFlowResultSummaryByMonthReq,
  IGetFlowResultSummaryByMonthRes,
  GetFlowResultSummaryByMonthRequestConfig
>(getFlowResultSummaryByMonthRequestConfig)

/**
 * 接口 [根据决策流Id查询执行城市汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45903) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByCity`
 * @更新时间 `2024-05-29 16:46:17`
 */
export interface IGetFlowResultSummaryByCityReq {
  flowIds: string
}

/**
 * 接口 [根据决策流Id查询执行城市汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45903) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByCity`
 * @更新时间 `2024-05-29 16:46:17`
 */
export type IGetFlowResultSummaryByCityRes = {
  /**
   * 省份
   */
  province?: string
  /**
   * 省份编码
   */
  provinceCode?: string
  /**
   * 城市
   */
  city?: string
  /**
   * 城市编码
   */
  cityCode?: string
  /**
   * 总进件数
   */
  total?: string
  /**
   * 占比
   */
  ratio?: number
}[]

/**
 * 接口 [根据决策流Id查询执行城市汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45903) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByCity`
 * @更新时间 `2024-05-29 16:46:17`
 */
type GetFlowResultSummaryByCityRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/summaryByCity',
    'data',
    string,
    'flowIds',
    false
  >
>

/**
 * 接口 [根据决策流Id查询执行城市汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45903) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByCity`
 * @更新时间 `2024-05-29 16:46:17`
 */
const getFlowResultSummaryByCityRequestConfig: GetFlowResultSummaryByCityRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/summaryByCity',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['flowIds'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultSummaryByCity',
}

/**
 * 接口 [根据决策流Id查询执行城市汇总信息↗](https://yapi.mcisaas.com/project/371/interface/api/45903) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/summaryByCity`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const getFlowResultSummaryByCity = makeRequest<
  IGetFlowResultSummaryByCityReq,
  IGetFlowResultSummaryByCityRes,
  GetFlowResultSummaryByCityRequestConfig
>(getFlowResultSummaryByCityRequestConfig)

/**
 * 接口 [查询最近10次执行参数↗](https://yapi.mcisaas.com/project/371/interface/api/47653) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/latest-exec-params`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IGetFlowResultLatestExecParamsReq {
  flowId: string
}

/**
 * 接口 [查询最近10次执行参数↗](https://yapi.mcisaas.com/project/371/interface/api/47653) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/latest-exec-params`
 * @更新时间 `2024-05-29 16:46:20`
 */
export type IGetFlowResultLatestExecParamsRes = {}[]

/**
 * 接口 [查询最近10次执行参数↗](https://yapi.mcisaas.com/project/371/interface/api/47653) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/latest-exec-params`
 * @更新时间 `2024-05-29 16:46:20`
 */
type GetFlowResultLatestExecParamsRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/latest-exec-params',
    'data',
    string,
    'flowId',
    false
  >
>

/**
 * 接口 [查询最近10次执行参数↗](https://yapi.mcisaas.com/project/371/interface/api/47653) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/latest-exec-params`
 * @更新时间 `2024-05-29 16:46:20`
 */
const getFlowResultLatestExecParamsRequestConfig: GetFlowResultLatestExecParamsRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/latest-exec-params',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultLatestExecParams',
}

/**
 * 接口 [查询最近10次执行参数↗](https://yapi.mcisaas.com/project/371/interface/api/47653) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/latest-exec-params`
 * @更新时间 `2024-05-29 16:46:20`
 */
export const getFlowResultLatestExecParams = makeRequest<
  IGetFlowResultLatestExecParamsReq,
  IGetFlowResultLatestExecParamsRes,
  GetFlowResultLatestExecParamsRequestConfig
>(getFlowResultLatestExecParamsRequestConfig)

/**
 * 接口 [单条查询↗](https://yapi.mcisaas.com/project/371/interface/api/48983) 的 **请求类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/get`
 * @更新时间 `2024-05-29 16:46:25`
 */
export interface IGetFlowResultGetReq {
  execId: string
  flowId: string
}

/**
 * 接口 [单条查询↗](https://yapi.mcisaas.com/project/371/interface/api/48983) 的 **返回类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/get`
 * @更新时间 `2024-05-29 16:46:25`
 */
/**
 * 决策流执行结果-传输对象
 */
export interface IGetFlowResultGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 执行请求id
   */
  execId?: string
  /**
   * 批次id
   */
  batchId?: string
  /**
   * 版本号
   */
  versionNo?: string
  /**
   * 权重
   */
  weight?: number
  /**
   * 执行规则id
   */
  flowId?: string
  /**
   * 执行规则名称
   */
  flowName?: string
  /**
   * 执行参数
   */
  execParam?: string
  /**
   * 执行结果
   */
  execResult?: string
  /**
   * 执行状态
   */
  execStatus?: string
  /**
   * 异常信息
   */
  errorMsg?: string
  /**
   * 执行时间
   */
  spendTime?: string
  /**
   * 创建时间
   */
  createTime?: string
  /**
   * 测试模式
   */
  testMode?: number
  /**
   * 执行模式，0: 自动决策，1: 人工干预
   */
  execMode?: number
  /**
   * 决策结果，0: 待定，1: 通过，-1: 拒绝
   */
  decisionRet?: number
  /**
   * 企业idKey，用来关联生成地区或品类报表
   */
  entId?: string
}

/**
 * 接口 [单条查询↗](https://yapi.mcisaas.com/project/371/interface/api/48983) 的 **请求配置的类型**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/get`
 * @更新时间 `2024-05-29 16:46:25`
 */
type GetFlowResultGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/flow-result/get',
    'data',
    string,
    'execId' | 'flowId',
    false
  >
>

/**
 * 接口 [单条查询↗](https://yapi.mcisaas.com/project/371/interface/api/48983) 的 **请求配置**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/get`
 * @更新时间 `2024-05-29 16:46:25`
 */
const getFlowResultGetRequestConfig: GetFlowResultGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_10,
  devUrl: devUrl_0_1_0_10,
  prodUrl: prodUrl_0_1_0_10,
  path: '/flow-result/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_10,
  paramNames: [],
  queryNames: ['execId', 'flowId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getFlowResultGet',
}

/**
 * 接口 [单条查询↗](https://yapi.mcisaas.com/project/371/interface/api/48983) 的 **请求函数**
 *
 * @分类 [决策流执行结果↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6422)
 * @标签 `决策流执行结果`
 * @请求头 `GET /flow-result/get`
 * @更新时间 `2024-05-29 16:46:25`
 */
export const getFlowResultGet = makeRequest<IGetFlowResultGetReq, IGetFlowResultGetRes, GetFlowResultGetRequestConfig>(
  getFlowResultGetRequestConfig,
)

const mockUrl_0_1_0_11 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_11 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_11 = '' as any
const dataKey_0_1_0_11 = 'data' as any

/**
 * 接口 [新增用户↗](https://yapi.mcisaas.com/project/371/interface/api/45651) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `POST /user/add`
 * @更新时间 `2024-05-29 16:46:11`
 */
/**
 * 用户-传输对象
 */
export interface IPostUserAddReq {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 账户名(kc的唯一username)
   */
  accountName?: string
  /**
   * 中文名
   */
  username?: string
  /**
   * 对应全流程用户Id
   */
  userId?: string
  /**
   * 对应全流程用户的Id
   */
  userBaseId?: string
  /**
   * 用户角色列表
   */
  roles?: {
    entId?: string
    roleCode?: string
    roleEngName?: string
    roleId?: string
    roleName?: string
  }[]
  /**
   * 是否拥有系统权限
   */
  hasPermission?: boolean
}

/**
 * 接口 [新增用户↗](https://yapi.mcisaas.com/project/371/interface/api/45651) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `POST /user/add`
 * @更新时间 `2024-05-29 16:46:11`
 */
export type IPostUserAddRes = boolean

/**
 * 接口 [新增用户↗](https://yapi.mcisaas.com/project/371/interface/api/45651) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `POST /user/add`
 * @更新时间 `2024-05-29 16:46:11`
 */
type PostUserAddRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/user/add', 'data', string, string, false>
>

/**
 * 接口 [新增用户↗](https://yapi.mcisaas.com/project/371/interface/api/45651) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `POST /user/add`
 * @更新时间 `2024-05-29 16:46:11`
 */
const postUserAddRequestConfig: PostUserAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postUserAdd',
}

/**
 * 接口 [新增用户↗](https://yapi.mcisaas.com/project/371/interface/api/45651) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `POST /user/add`
 * @更新时间 `2024-05-29 16:46:11`
 */
export const postUserAdd = makeRequest<IPostUserAddReq, IPostUserAddRes, PostUserAddRequestConfig>(
  postUserAddRequestConfig,
)

/**
 * 接口 [根据角色获取用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45658) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/query`
 * @更新时间 `2024-05-29 16:46:12`
 */
export interface IGetUserQueryReq {
  /**
   * 角色Code
   */
  roleCode: string
}

/**
 * 接口 [根据角色获取用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45658) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/query`
 * @更新时间 `2024-05-29 16:46:12`
 */
export type IGetUserQueryRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 账户名(kc的唯一username)
   */
  accountName?: string
  /**
   * 中文名
   */
  username?: string
  /**
   * 对应全流程用户Id
   */
  userId?: string
  /**
   * 对应全流程用户的Id
   */
  userBaseId?: string
  /**
   * 用户角色列表
   */
  roles?: {
    entId?: string
    roleCode?: string
    roleEngName?: string
    roleId?: string
    roleName?: string
  }[]
  /**
   * 是否拥有系统权限
   */
  hasPermission?: boolean
}[]

/**
 * 接口 [根据角色获取用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45658) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/query`
 * @更新时间 `2024-05-29 16:46:12`
 */
type GetUserQueryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/user/query',
    'data',
    string,
    'roleCode',
    false
  >
>

/**
 * 接口 [根据角色获取用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45658) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/query`
 * @更新时间 `2024-05-29 16:46:12`
 */
const getUserQueryRequestConfig: GetUserQueryRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/query',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: ['roleCode'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getUserQuery',
}

/**
 * 接口 [根据角色获取用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45658) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/query`
 * @更新时间 `2024-05-29 16:46:12`
 */
export const getUserQuery = makeRequest<IGetUserQueryReq, IGetUserQueryRes, GetUserQueryRequestConfig>(
  getUserQueryRequestConfig,
)

/**
 * 接口 [根据用户名查询用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45721) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/queryByName`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IGetUserQueryByNameReq {
  /**
   * 用户名
   */
  username: string
}

/**
 * 接口 [根据用户名查询用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45721) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/queryByName`
 * @更新时间 `2024-05-29 16:46:14`
 */
export type IGetUserQueryByNameRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 账户名(kc的唯一username)
   */
  accountName?: string
  /**
   * 中文名
   */
  username?: string
  /**
   * 对应全流程用户Id
   */
  userId?: string
  /**
   * 对应全流程用户的Id
   */
  userBaseId?: string
  /**
   * 用户角色列表
   */
  roles?: {
    entId?: string
    roleCode?: string
    roleEngName?: string
    roleId?: string
    roleName?: string
  }[]
  /**
   * 是否拥有系统权限
   */
  hasPermission?: boolean
}[]

/**
 * 接口 [根据用户名查询用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45721) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/queryByName`
 * @更新时间 `2024-05-29 16:46:14`
 */
type GetUserQueryByNameRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/user/queryByName',
    'data',
    string,
    'username',
    false
  >
>

/**
 * 接口 [根据用户名查询用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45721) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/queryByName`
 * @更新时间 `2024-05-29 16:46:14`
 */
const getUserQueryByNameRequestConfig: GetUserQueryByNameRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/queryByName',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: ['username'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getUserQueryByName',
}

/**
 * 接口 [根据用户名查询用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/45721) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/queryByName`
 * @更新时间 `2024-05-29 16:46:14`
 */
export const getUserQueryByName = makeRequest<
  IGetUserQueryByNameReq,
  IGetUserQueryByNameRes,
  GetUserQueryByNameRequestConfig
>(getUserQueryByNameRequestConfig)

/**
 * 接口 [查询登录用户基本信息↗](https://yapi.mcisaas.com/project/371/interface/api/45728) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/get`
 * @更新时间 `2024-05-29 16:46:14`
 */
export interface IGetUserGetReq {}

/**
 * 接口 [查询登录用户基本信息↗](https://yapi.mcisaas.com/project/371/interface/api/45728) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/get`
 * @更新时间 `2024-05-29 16:46:14`
 */
/**
 * 用户-传输对象
 */
export interface IGetUserGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 账户名(kc的唯一username)
   */
  accountName?: string
  /**
   * 中文名
   */
  username?: string
  /**
   * 对应全流程用户Id
   */
  userId?: string
  /**
   * 对应全流程用户的Id
   */
  userBaseId?: string
  /**
   * 用户角色列表
   */
  roles?: {
    entId?: string
    roleCode?: string
    roleEngName?: string
    roleId?: string
    roleName?: string
  }[]
  /**
   * 是否拥有系统权限
   */
  hasPermission?: boolean
}

/**
 * 接口 [查询登录用户基本信息↗](https://yapi.mcisaas.com/project/371/interface/api/45728) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/get`
 * @更新时间 `2024-05-29 16:46:14`
 */
type GetUserGetRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/user/get', 'data', string, string, true>
>

/**
 * 接口 [查询登录用户基本信息↗](https://yapi.mcisaas.com/project/371/interface/api/45728) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/get`
 * @更新时间 `2024-05-29 16:46:14`
 */
const getUserGetRequestConfig: GetUserGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getUserGet',
}

/**
 * 接口 [查询登录用户基本信息↗](https://yapi.mcisaas.com/project/371/interface/api/45728) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/get`
 * @更新时间 `2024-05-29 16:46:14`
 */
export const getUserGet = makeRequest<IGetUserGetReq, IGetUserGetRes, GetUserGetRequestConfig>(getUserGetRequestConfig)

/**
 * 接口 [根据用户名fetch用户信息↗](https://yapi.mcisaas.com/project/371/interface/api/45749) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/fetch`
 * @更新时间 `2024-05-29 16:46:15`
 */
export interface IGetUserFetchReq {
  kcUserId: string
}

/**
 * 接口 [根据用户名fetch用户信息↗](https://yapi.mcisaas.com/project/371/interface/api/45749) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/fetch`
 * @更新时间 `2024-05-29 16:46:15`
 */
/**
 * 用户-传输对象
 */
export interface IGetUserFetchRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 账户名(kc的唯一username)
   */
  accountName?: string
  /**
   * 中文名
   */
  username?: string
  /**
   * 对应全流程用户Id
   */
  userId?: string
  /**
   * 对应全流程用户的Id
   */
  userBaseId?: string
  /**
   * 用户角色列表
   */
  roles?: {
    entId?: string
    roleCode?: string
    roleEngName?: string
    roleId?: string
    roleName?: string
  }[]
  /**
   * 是否拥有系统权限
   */
  hasPermission?: boolean
}

/**
 * 接口 [根据用户名fetch用户信息↗](https://yapi.mcisaas.com/project/371/interface/api/45749) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/fetch`
 * @更新时间 `2024-05-29 16:46:15`
 */
type GetUserFetchRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/user/fetch',
    'data',
    string,
    'kcUserId',
    false
  >
>

/**
 * 接口 [根据用户名fetch用户信息↗](https://yapi.mcisaas.com/project/371/interface/api/45749) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/fetch`
 * @更新时间 `2024-05-29 16:46:15`
 */
const getUserFetchRequestConfig: GetUserFetchRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/fetch',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: ['kcUserId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getUserFetch',
}

/**
 * 接口 [根据用户名fetch用户信息↗](https://yapi.mcisaas.com/project/371/interface/api/45749) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/fetch`
 * @更新时间 `2024-05-29 16:46:15`
 */
export const getUserFetch = makeRequest<IGetUserFetchReq, IGetUserFetchRes, GetUserFetchRequestConfig>(
  getUserFetchRequestConfig,
)

/**
 * 接口 [查询登录用户角色&权限↗](https://yapi.mcisaas.com/project/371/interface/api/46302) 的 **请求类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/getAccountRoleInfo`
 * @更新时间 `2024-05-29 16:46:18`
 */
export interface IGetUserGetAccountRoleInfoReq {}

/**
 * 接口 [查询登录用户角色&权限↗](https://yapi.mcisaas.com/project/371/interface/api/46302) 的 **返回类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/getAccountRoleInfo`
 * @更新时间 `2024-05-29 16:46:18`
 */
export interface IGetUserGetAccountRoleInfoRes {
  code?: string
  message?: string
  data?: {
    systemAuthList?: {
      authCode?: string
      authName?: string
      authType?: 'BUTTON' | 'MENU' | 'MODULE'
      moduleName?: string
      parentCode?: string
      systemCode?: string
      systemUrl?: string
    }[]
    userRoleList?: {
      entId?: string
      roleCode?: string
      roleEngName?: string
      roleId?: string
      roleName?: string
    }[]
  }
}

/**
 * 接口 [查询登录用户角色&权限↗](https://yapi.mcisaas.com/project/371/interface/api/46302) 的 **请求配置的类型**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/getAccountRoleInfo`
 * @更新时间 `2024-05-29 16:46:18`
 */
type GetUserGetAccountRoleInfoRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/user/getAccountRoleInfo',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [查询登录用户角色&权限↗](https://yapi.mcisaas.com/project/371/interface/api/46302) 的 **请求配置**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/getAccountRoleInfo`
 * @更新时间 `2024-05-29 16:46:18`
 */
const getUserGetAccountRoleInfoRequestConfig: GetUserGetAccountRoleInfoRequestConfig = {
  mockUrl: mockUrl_0_1_0_11,
  devUrl: devUrl_0_1_0_11,
  prodUrl: prodUrl_0_1_0_11,
  path: '/user/getAccountRoleInfo',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_11,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getUserGetAccountRoleInfo',
}

/**
 * 接口 [查询登录用户角色&权限↗](https://yapi.mcisaas.com/project/371/interface/api/46302) 的 **请求函数**
 *
 * @分类 [用户列表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6424)
 * @标签 `用户列表`
 * @请求头 `GET /user/getAccountRoleInfo`
 * @更新时间 `2024-05-29 16:46:18`
 */
export const getUserGetAccountRoleInfo = makeRequest<
  IGetUserGetAccountRoleInfoReq,
  IGetUserGetAccountRoleInfoRes,
  GetUserGetAccountRoleInfoRequestConfig
>(getUserGetAccountRoleInfoRequestConfig)

const mockUrl_0_1_0_12 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_12 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_12 = '' as any
const dataKey_0_1_0_12 = 'data' as any

/**
 * 接口 [获取所有角色↗](https://yapi.mcisaas.com/project/371/interface/api/45672) 的 **请求类型**
 *
 * @分类 [角色表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6426)
 * @标签 `角色表`
 * @请求头 `GET /role/list`
 * @更新时间 `2024-05-29 16:46:13`
 */
export interface IGetRoleListReq {}

/**
 * 接口 [获取所有角色↗](https://yapi.mcisaas.com/project/371/interface/api/45672) 的 **返回类型**
 *
 * @分类 [角色表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6426)
 * @标签 `角色表`
 * @请求头 `GET /role/list`
 * @更新时间 `2024-05-29 16:46:13`
 */
export type IGetRoleListRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 角色编码(对应全流程)
   */
  roleCode?: string
  /**
   * 角色名称
   */
  roleName?: string
  /**
   * 0:管理员, 其他
   */
  roleType?: number
  /**
   * 系统编码
   */
  systemCode?: string
  /**
   * 审批key
   */
  approveKey?: string
}[]

/**
 * 接口 [获取所有角色↗](https://yapi.mcisaas.com/project/371/interface/api/45672) 的 **请求配置的类型**
 *
 * @分类 [角色表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6426)
 * @标签 `角色表`
 * @请求头 `GET /role/list`
 * @更新时间 `2024-05-29 16:46:13`
 */
type GetRoleListRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/role/list', 'data', string, string, true>
>

/**
 * 接口 [获取所有角色↗](https://yapi.mcisaas.com/project/371/interface/api/45672) 的 **请求配置**
 *
 * @分类 [角色表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6426)
 * @标签 `角色表`
 * @请求头 `GET /role/list`
 * @更新时间 `2024-05-29 16:46:13`
 */
const getRoleListRequestConfig: GetRoleListRequestConfig = {
  mockUrl: mockUrl_0_1_0_12,
  devUrl: devUrl_0_1_0_12,
  prodUrl: prodUrl_0_1_0_12,
  path: '/role/list',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_12,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getRoleList',
}

/**
 * 接口 [获取所有角色↗](https://yapi.mcisaas.com/project/371/interface/api/45672) 的 **请求函数**
 *
 * @分类 [角色表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6426)
 * @标签 `角色表`
 * @请求头 `GET /role/list`
 * @更新时间 `2024-05-29 16:46:13`
 */
export const getRoleList = makeRequest<IGetRoleListReq, IGetRoleListRes, GetRoleListRequestConfig>(
  getRoleListRequestConfig,
)

const mockUrl_0_1_0_13 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_13 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_13 = '' as any
const dataKey_0_1_0_13 = 'data' as any

/**
 * 接口 [新增算法模型表↗](https://yapi.mcisaas.com/project/371/interface/api/45812) 的 **请求类型**
 *
 * @分类 [算法模型日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6428)
 * @标签 `算法模型日志表`
 * @请求头 `POST /model-log/add`
 * @更新时间 `2024-05-29 16:46:17`
 */
/**
 * 算法模型表-传输对象
 */
export interface IPostModelLogAddReq {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 模型Id
   */
  modelId?: string
  /**
   * 时间花费
   */
  spendTime?: string
  /**
   * 执行参数
   */
  execParam?: {}
  /**
   * 执行结果
   */
  execResults?: {}[]
  /**
   * 1：成功，-1:失败
   */
  status?: number
  /**
   * 调用方
   */
  caller?: string
  /**
   * 错误信息
   */
  errorMsg?: string
}

/**
 * 接口 [新增算法模型表↗](https://yapi.mcisaas.com/project/371/interface/api/45812) 的 **返回类型**
 *
 * @分类 [算法模型日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6428)
 * @标签 `算法模型日志表`
 * @请求头 `POST /model-log/add`
 * @更新时间 `2024-05-29 16:46:17`
 */
export type IPostModelLogAddRes = boolean

/**
 * 接口 [新增算法模型表↗](https://yapi.mcisaas.com/project/371/interface/api/45812) 的 **请求配置的类型**
 *
 * @分类 [算法模型日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6428)
 * @标签 `算法模型日志表`
 * @请求头 `POST /model-log/add`
 * @更新时间 `2024-05-29 16:46:17`
 */
type PostModelLogAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/model-log/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增算法模型表↗](https://yapi.mcisaas.com/project/371/interface/api/45812) 的 **请求配置**
 *
 * @分类 [算法模型日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6428)
 * @标签 `算法模型日志表`
 * @请求头 `POST /model-log/add`
 * @更新时间 `2024-05-29 16:46:17`
 */
const postModelLogAddRequestConfig: PostModelLogAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_13,
  devUrl: devUrl_0_1_0_13,
  prodUrl: prodUrl_0_1_0_13,
  path: '/model-log/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_13,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postModelLogAdd',
}

/**
 * 接口 [新增算法模型表↗](https://yapi.mcisaas.com/project/371/interface/api/45812) 的 **请求函数**
 *
 * @分类 [算法模型日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6428)
 * @标签 `算法模型日志表`
 * @请求头 `POST /model-log/add`
 * @更新时间 `2024-05-29 16:46:17`
 */
export const postModelLogAdd = makeRequest<IPostModelLogAddReq, IPostModelLogAddRes, PostModelLogAddRequestConfig>(
  postModelLogAddRequestConfig,
)

const mockUrl_0_1_0_14 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_14 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_14 = '' as any
const dataKey_0_1_0_14 = 'data' as any

/**
 * 接口 [根据分类查询决策流列表，并分组展示↗](https://yapi.mcisaas.com/project/371/interface/api/46260) 的 **请求类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/listWithCategory`
 * @更新时间 `2024-05-29 16:46:18`
 */
export interface IPostDecisionListWithCategoryReq {}

/**
 * 接口 [根据分类查询决策流列表，并分组展示↗](https://yapi.mcisaas.com/project/371/interface/api/46260) 的 **返回类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/listWithCategory`
 * @更新时间 `2024-05-29 16:46:18`
 */
export type IPostDecisionListWithCategoryRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 分类名称
   */
  categoryName?: string
  /**
   * icon
   */
  icon?: string
  /**
   * 决策流VO
   */
  flows?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 场景分类Id
     */
    categoryId?: string
    /**
     * 流程名称
     */
    flowName?: string
    /**
     * 流程说明
     */
    flowDesc?: string
    /**
     * 决策流-传输对象
     */
    decisionFlow?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 前端图回显JSON
       */
      graph?: string
      /**
       * 决策流名称
       */
      flowName?: string
      /**
       * 场景分类Id
       */
      categoryId?: string
      /**
       * 是否有效 0:无效 1:有效
       */
      valid?: number
      /**
       * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
       */
      status?: number
      /**
       * 版本Id
       */
      decisionId?: string
      /**
       * 权重
       */
      weight?: number
      /**
       * 版本号
       */
      versionNo?: string
    }
    /**
     * 所有版本
     */
    decisionFlows?: {
      /**
       * 主键ID
       */
      id?: string
      /**
       * 前端图回显JSON
       */
      graph?: string
      /**
       * 决策流名称
       */
      flowName?: string
      /**
       * 场景分类Id
       */
      categoryId?: string
      /**
       * 是否有效 0:无效 1:有效
       */
      valid?: number
      /**
       * 发布状态 0:未发布 1:审核中 2:已发布 3:已下线
       */
      status?: number
      /**
       * 版本Id
       */
      decisionId?: string
      /**
       * 权重
       */
      weight?: number
      /**
       * 版本号
       */
      versionNo?: string
    }[]
  }[]
}[]

/**
 * 接口 [根据分类查询决策流列表，并分组展示↗](https://yapi.mcisaas.com/project/371/interface/api/46260) 的 **请求配置的类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/listWithCategory`
 * @更新时间 `2024-05-29 16:46:18`
 */
type PostDecisionListWithCategoryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision/listWithCategory',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [根据分类查询决策流列表，并分组展示↗](https://yapi.mcisaas.com/project/371/interface/api/46260) 的 **请求配置**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/listWithCategory`
 * @更新时间 `2024-05-29 16:46:18`
 */
const postDecisionListWithCategoryRequestConfig: PostDecisionListWithCategoryRequestConfig = {
  mockUrl: mockUrl_0_1_0_14,
  devUrl: devUrl_0_1_0_14,
  prodUrl: prodUrl_0_1_0_14,
  path: '/decision/listWithCategory',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_14,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionListWithCategory',
}

/**
 * 接口 [根据分类查询决策流列表，并分组展示↗](https://yapi.mcisaas.com/project/371/interface/api/46260) 的 **请求函数**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/listWithCategory`
 * @更新时间 `2024-05-29 16:46:18`
 */
export const postDecisionListWithCategory = makeRequest<
  IPostDecisionListWithCategoryReq,
  IPostDecisionListWithCategoryRes,
  PostDecisionListWithCategoryRequestConfig
>(postDecisionListWithCategoryRequestConfig)

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46400) 的 **请求类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/execute`
 * @更新时间 `2024-05-29 16:46:18`
 */
export interface IPostDecisionExecuteReq {
  /**
   * 决策Id
   */
  decisionId: string
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46400) 的 **返回类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/execute`
 * @更新时间 `2024-05-29 16:46:18`
 */
/**
 * 决策流执行结果-传输对象
 */
export interface IPostDecisionExecuteRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 执行请求id
   */
  execId?: string
  /**
   * 执行规则id
   */
  flowId?: string
  /**
   * 执行规则名称
   */
  flowName?: string
  /**
   * 执行参数
   */
  execParam?: {}
  /**
   * 执行结果
   */
  execResult?: {}[]
  /**
   * 执行状态
   */
  execStatus?: string
  /**
   * 异常信息
   */
  errorMsg?: string
  /**
   * 执行时间
   */
  spendTime?: string
  /**
   * 创建时间
   */
  createTime?: string
  /**
   * 创建人
   */
  creator?: string
  /**
   * 更新人
   */
  updater?: string
  /**
   * 测试模式
   */
  testMode?: number
  /**
   * 执行模式，0: 自动决策，1: 人工干预
   */
  execMode?: number
  /**
   * 决策结果，0: 待定，1: 通过，-1: 拒绝
   */
  decisionRet?: number
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46400) 的 **请求配置的类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/execute`
 * @更新时间 `2024-05-29 16:46:18`
 */
type PostDecisionExecuteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision/{decisionId}/execute',
    'data',
    'decisionId',
    string,
    false
  >
>

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46400) 的 **请求配置**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/execute`
 * @更新时间 `2024-05-29 16:46:18`
 */
const postDecisionExecuteRequestConfig: PostDecisionExecuteRequestConfig = {
  mockUrl: mockUrl_0_1_0_14,
  devUrl: devUrl_0_1_0_14,
  prodUrl: prodUrl_0_1_0_14,
  path: '/decision/{decisionId}/execute',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_14,
  paramNames: ['decisionId'],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionExecute',
}

/**
 * 接口 [执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46400) 的 **请求函数**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/execute`
 * @更新时间 `2024-05-29 16:46:18`
 */
export const postDecisionExecute = makeRequest<
  IPostDecisionExecuteReq,
  IPostDecisionExecuteRes,
  PostDecisionExecuteRequestConfig
>(postDecisionExecuteRequestConfig)

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46407) 的 **请求类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostDecisionExecuteAsyncReq {
  /**
   * 决策Id
   */
  decisionId: string
}

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46407) 的 **返回类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:19`
 */
export type IPostDecisionExecuteAsyncRes = string

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46407) 的 **请求配置的类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:19`
 */
type PostDecisionExecuteAsyncRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision/{decisionId}/executeAsync',
    'data',
    'decisionId',
    string,
    false
  >
>

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46407) 的 **请求配置**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:19`
 */
const postDecisionExecuteAsyncRequestConfig: PostDecisionExecuteAsyncRequestConfig = {
  mockUrl: mockUrl_0_1_0_14,
  devUrl: devUrl_0_1_0_14,
  prodUrl: prodUrl_0_1_0_14,
  path: '/decision/{decisionId}/executeAsync',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_14,
  paramNames: ['decisionId'],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionExecuteAsync',
}

/**
 * 接口 [异步执行决策流↗](https://yapi.mcisaas.com/project/371/interface/api/46407) 的 **请求函数**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/executeAsync`
 * @更新时间 `2024-05-29 16:46:19`
 */
export const postDecisionExecuteAsync = makeRequest<
  IPostDecisionExecuteAsyncReq,
  IPostDecisionExecuteAsyncRes,
  PostDecisionExecuteAsyncRequestConfig
>(postDecisionExecuteAsyncRequestConfig)

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48143) 的 **请求类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostDecisionRenameReq {
  flowName: string
  flowDesc: string
  /**
   * 决策Id
   */
  decisionId: string
}

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48143) 的 **返回类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export type IPostDecisionRenameRes = boolean

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48143) 的 **请求配置的类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
type PostDecisionRenameRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision/{decisionId}/rename',
    'data',
    'decisionId',
    'flowName' | 'flowDesc',
    false
  >
>

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48143) 的 **请求配置**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
const postDecisionRenameRequestConfig: PostDecisionRenameRequestConfig = {
  mockUrl: mockUrl_0_1_0_14,
  devUrl: devUrl_0_1_0_14,
  prodUrl: prodUrl_0_1_0_14,
  path: '/decision/{decisionId}/rename',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_14,
  paramNames: ['decisionId'],
  queryNames: ['flowName', 'flowDesc'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postDecisionRename',
}

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48143) 的 **请求函数**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `POST /decision/{decisionId}/rename`
 * @更新时间 `2024-05-29 16:46:23`
 */
export const postDecisionRename = makeRequest<
  IPostDecisionRenameReq,
  IPostDecisionRenameRes,
  PostDecisionRenameRequestConfig
>(postDecisionRenameRequestConfig)

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48318) 的 **请求类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `GET /decision/{decisionId}/rename`
 * @更新时间 `2024-04-03 10:16:13`
 */
export interface IGetDecisionRenameReq {
  flowName: string
  flowDesc: string
  /**
   * 决策Id
   */
  decisionId: string
}

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48318) 的 **返回类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `GET /decision/{decisionId}/rename`
 * @更新时间 `2024-04-03 10:16:13`
 */
export type IGetDecisionRenameRes = boolean

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48318) 的 **请求配置的类型**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `GET /decision/{decisionId}/rename`
 * @更新时间 `2024-04-03 10:16:13`
 */
type GetDecisionRenameRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/decision/{decisionId}/rename',
    'data',
    'decisionId',
    'flowName' | 'flowDesc',
    false
  >
>

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48318) 的 **请求配置**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `GET /decision/{decisionId}/rename`
 * @更新时间 `2024-04-03 10:16:13`
 */
const getDecisionRenameRequestConfig: GetDecisionRenameRequestConfig = {
  mockUrl: mockUrl_0_1_0_14,
  devUrl: devUrl_0_1_0_14,
  prodUrl: prodUrl_0_1_0_14,
  path: '/decision/{decisionId}/rename',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_14,
  paramNames: ['decisionId'],
  queryNames: ['flowName', 'flowDesc'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getDecisionRename',
}

/**
 * 接口 [重命名决策流↗](https://yapi.mcisaas.com/project/371/interface/api/48318) 的 **请求函数**
 *
 * @分类 [决策管理↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6450)
 * @标签 `决策管理`
 * @请求头 `GET /decision/{decisionId}/rename`
 * @更新时间 `2024-04-03 10:16:13`
 */
export const getDecisionRename = makeRequest<
  IGetDecisionRenameReq,
  IGetDecisionRenameRes,
  GetDecisionRenameRequestConfig
>(getDecisionRenameRequestConfig)

const mockUrl_0_1_0_15 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_15 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_15 = '' as any
const dataKey_0_1_0_15 = 'data' as any

/**
 * 接口 [修改回调地址↗](https://yapi.mcisaas.com/project/371/interface/api/47331) 的 **请求类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/updateCallback`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostAppUpdateCallbackReq {
  /**
   * appId
   */
  appId: string
  /**
   * 回调地址
   */
  callbackUrl: string
}

/**
 * 接口 [修改回调地址↗](https://yapi.mcisaas.com/project/371/interface/api/47331) 的 **返回类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/updateCallback`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostAppUpdateCallbackRes {}

/**
 * 接口 [修改回调地址↗](https://yapi.mcisaas.com/project/371/interface/api/47331) 的 **请求配置的类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/updateCallback`
 * @更新时间 `2024-05-29 16:46:19`
 */
type PostAppUpdateCallbackRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/app/updateCallback',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [修改回调地址↗](https://yapi.mcisaas.com/project/371/interface/api/47331) 的 **请求配置**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/updateCallback`
 * @更新时间 `2024-05-29 16:46:19`
 */
const postAppUpdateCallbackRequestConfig: PostAppUpdateCallbackRequestConfig = {
  mockUrl: mockUrl_0_1_0_15,
  devUrl: devUrl_0_1_0_15,
  prodUrl: prodUrl_0_1_0_15,
  path: '/app/updateCallback',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_15,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postAppUpdateCallback',
}

/**
 * 接口 [修改回调地址↗](https://yapi.mcisaas.com/project/371/interface/api/47331) 的 **请求函数**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/updateCallback`
 * @更新时间 `2024-05-29 16:46:19`
 */
export const postAppUpdateCallback = makeRequest<
  IPostAppUpdateCallbackReq,
  IPostAppUpdateCallbackRes,
  PostAppUpdateCallbackRequestConfig
>(postAppUpdateCallbackRequestConfig)

/**
 * 接口 [删除↗](https://yapi.mcisaas.com/project/371/interface/api/47338) 的 **请求类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/delete`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostAppDeleteReq {
  id: string
}

/**
 * 接口 [删除↗](https://yapi.mcisaas.com/project/371/interface/api/47338) 的 **返回类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/delete`
 * @更新时间 `2024-05-29 16:46:19`
 */
export type IPostAppDeleteRes = boolean

/**
 * 接口 [删除↗](https://yapi.mcisaas.com/project/371/interface/api/47338) 的 **请求配置的类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/delete`
 * @更新时间 `2024-05-29 16:46:19`
 */
type PostAppDeleteRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/app/delete', 'data', string, 'id', false>
>

/**
 * 接口 [删除↗](https://yapi.mcisaas.com/project/371/interface/api/47338) 的 **请求配置**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/delete`
 * @更新时间 `2024-05-29 16:46:19`
 */
const postAppDeleteRequestConfig: PostAppDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_15,
  devUrl: devUrl_0_1_0_15,
  prodUrl: prodUrl_0_1_0_15,
  path: '/app/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_15,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postAppDelete',
}

/**
 * 接口 [删除↗](https://yapi.mcisaas.com/project/371/interface/api/47338) 的 **请求函数**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/delete`
 * @更新时间 `2024-05-29 16:46:19`
 */
export const postAppDelete = makeRequest<IPostAppDeleteReq, IPostAppDeleteRes, PostAppDeleteRequestConfig>(
  postAppDeleteRequestConfig,
)

/**
 * 接口 [申请↗](https://yapi.mcisaas.com/project/371/interface/api/47345) 的 **请求类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/apply`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostAppApplyReq {
  /**
   * 调用方名称
   */
  appName: string
  /**
   * 回调地址
   */
  callbackUrl?: string
}

/**
 * 接口 [申请↗](https://yapi.mcisaas.com/project/371/interface/api/47345) 的 **返回类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/apply`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IPostAppApplyRes {}

/**
 * 接口 [申请↗](https://yapi.mcisaas.com/project/371/interface/api/47345) 的 **请求配置的类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/apply`
 * @更新时间 `2024-05-29 16:46:19`
 */
type PostAppApplyRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/app/apply',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [申请↗](https://yapi.mcisaas.com/project/371/interface/api/47345) 的 **请求配置**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/apply`
 * @更新时间 `2024-05-29 16:46:19`
 */
const postAppApplyRequestConfig: PostAppApplyRequestConfig = {
  mockUrl: mockUrl_0_1_0_15,
  devUrl: devUrl_0_1_0_15,
  prodUrl: prodUrl_0_1_0_15,
  path: '/app/apply',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_15,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postAppApply',
}

/**
 * 接口 [申请↗](https://yapi.mcisaas.com/project/371/interface/api/47345) 的 **请求函数**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/apply`
 * @更新时间 `2024-05-29 16:46:19`
 */
export const postAppApply = makeRequest<IPostAppApplyReq, IPostAppApplyRes, PostAppApplyRequestConfig>(
  postAppApplyRequestConfig,
)

/**
 * 接口 [查询申请列表↗](https://yapi.mcisaas.com/project/371/interface/api/47352) 的 **请求类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `GET /app/list`
 * @更新时间 `2024-05-29 16:46:19`
 */
export interface IGetAppListReq {}

/**
 * 接口 [查询申请列表↗](https://yapi.mcisaas.com/project/371/interface/api/47352) 的 **返回类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `GET /app/list`
 * @更新时间 `2024-05-29 16:46:19`
 */
export type IGetAppListRes = {
  /**
   * 主键
   */
  id?: string
  /**
   * 应用ID
   */
  appId?: string
  /**
   * 应用key
   */
  appKey?: string
  /**
   * 调用方名称
   */
  appName?: string
  /**
   * 状态，0:未审核，1：已审核
   */
  status?: number
  /**
   * 回调地址
   */
  callbackUrl?: string
}[]

/**
 * 接口 [查询申请列表↗](https://yapi.mcisaas.com/project/371/interface/api/47352) 的 **请求配置的类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `GET /app/list`
 * @更新时间 `2024-05-29 16:46:19`
 */
type GetAppListRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/app/list', 'data', string, string, true>
>

/**
 * 接口 [查询申请列表↗](https://yapi.mcisaas.com/project/371/interface/api/47352) 的 **请求配置**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `GET /app/list`
 * @更新时间 `2024-05-29 16:46:19`
 */
const getAppListRequestConfig: GetAppListRequestConfig = {
  mockUrl: mockUrl_0_1_0_15,
  devUrl: devUrl_0_1_0_15,
  prodUrl: prodUrl_0_1_0_15,
  path: '/app/list',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_15,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getAppList',
}

/**
 * 接口 [查询申请列表↗](https://yapi.mcisaas.com/project/371/interface/api/47352) 的 **请求函数**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `GET /app/list`
 * @更新时间 `2024-05-29 16:46:19`
 */
export const getAppList = makeRequest<IGetAppListReq, IGetAppListRes, GetAppListRequestConfig>(getAppListRequestConfig)

/**
 * 接口 [分配AppId和AppSecret↗](https://yapi.mcisaas.com/project/371/interface/api/47660) 的 **请求类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/assign`
 * @更新时间 `2024-05-29 16:46:21`
 */
export interface IPostAppAssignReq {
  /**
   * 申请id
   */
  id: string
  /**
   * 应用ID
   */
  appId: string
  /**
   * 应用key
   */
  appKey: string
}

/**
 * 接口 [分配AppId和AppSecret↗](https://yapi.mcisaas.com/project/371/interface/api/47660) 的 **返回类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/assign`
 * @更新时间 `2024-05-29 16:46:21`
 */
export interface IPostAppAssignRes {}

/**
 * 接口 [分配AppId和AppSecret↗](https://yapi.mcisaas.com/project/371/interface/api/47660) 的 **请求配置的类型**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/assign`
 * @更新时间 `2024-05-29 16:46:21`
 */
type PostAppAssignRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/app/assign',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [分配AppId和AppSecret↗](https://yapi.mcisaas.com/project/371/interface/api/47660) 的 **请求配置**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/assign`
 * @更新时间 `2024-05-29 16:46:21`
 */
const postAppAssignRequestConfig: PostAppAssignRequestConfig = {
  mockUrl: mockUrl_0_1_0_15,
  devUrl: devUrl_0_1_0_15,
  prodUrl: prodUrl_0_1_0_15,
  path: '/app/assign',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_15,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postAppAssign',
}

/**
 * 接口 [分配AppId和AppSecret↗](https://yapi.mcisaas.com/project/371/interface/api/47660) 的 **请求函数**
 *
 * @分类 [应用↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6568)
 * @标签 `应用`
 * @请求头 `POST /app/assign`
 * @更新时间 `2024-05-29 16:46:21`
 */
export const postAppAssign = makeRequest<IPostAppAssignReq, IPostAppAssignRes, PostAppAssignRequestConfig>(
  postAppAssignRequestConfig,
)

const mockUrl_0_1_0_16 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_16 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_16 = '' as any
const dataKey_0_1_0_16 = 'data' as any

/**
 * 接口 [修改定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47485) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modify`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobModifyReq {
  /**
   * job ID
   */
  id?: string
  /**
   * 任务名称
   */
  jobName?: string
  /**
   * 决策流ids
   */
  flowIds: number[]
  /**
   * cron执行表达式
   */
  cronExpression: string
  /**
   * 数据表名
   */
  tableName: string
  /**
   * 字段映射
   */
  mapping: {}
  /**
   * 状态（1正常 0暂停）
   */
  status?: number
  /**
   * 应用ID
   */
  appId?: string
  /**
   * 是否开启全表扫描
   */
  fullScan?: number
}

/**
 * 接口 [修改定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47485) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modify`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobModifyRes {}

/**
 * 接口 [修改定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47485) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modify`
 * @更新时间 `2024-05-29 16:46:20`
 */
type PostJobModifyRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/job/modify',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [修改定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47485) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modify`
 * @更新时间 `2024-05-29 16:46:20`
 */
const postJobModifyRequestConfig: PostJobModifyRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/modify',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobModify',
}

/**
 * 接口 [修改定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47485) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modify`
 * @更新时间 `2024-05-29 16:46:20`
 */
export const postJobModify = makeRequest<IPostJobModifyReq, IPostJobModifyRes, PostJobModifyRequestConfig>(
  postJobModifyRequestConfig,
)

/**
 * 接口 [删除定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47492) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/delete`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobDeleteReq {
  id: string
}

/**
 * 接口 [删除定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47492) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/delete`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobDeleteRes {}

/**
 * 接口 [删除定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47492) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/delete`
 * @更新时间 `2024-05-29 16:46:20`
 */
type PostJobDeleteRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/job/delete', 'data', string, 'id', false>
>

/**
 * 接口 [删除定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47492) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/delete`
 * @更新时间 `2024-05-29 16:46:20`
 */
const postJobDeleteRequestConfig: PostJobDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobDelete',
}

/**
 * 接口 [删除定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47492) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/delete`
 * @更新时间 `2024-05-29 16:46:20`
 */
export const postJobDelete = makeRequest<IPostJobDeleteReq, IPostJobDeleteRes, PostJobDeleteRequestConfig>(
  postJobDeleteRequestConfig,
)

/**
 * 接口 [新增定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47499) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/add`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobAddReq {
  /**
   * job ID
   */
  id?: string
  /**
   * 任务名称
   */
  jobName?: string
  /**
   * 决策流ids
   */
  flowIds: number[]
  /**
   * cron执行表达式
   */
  cronExpression: string
  /**
   * 数据表名
   */
  tableName: string
  /**
   * 字段映射
   */
  mapping: {}
  /**
   * 状态（1正常 0暂停）
   */
  status?: number
  /**
   * 应用ID
   */
  appId?: string
  /**
   * 是否开启全表扫描
   */
  fullScan?: number
}

/**
 * 接口 [新增定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47499) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/add`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobAddRes {}

/**
 * 接口 [新增定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47499) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/add`
 * @更新时间 `2024-05-29 16:46:20`
 */
type PostJobAddRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/job/add', 'data', string, string, false>
>

/**
 * 接口 [新增定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47499) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/add`
 * @更新时间 `2024-05-29 16:46:20`
 */
const postJobAddRequestConfig: PostJobAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobAdd',
}

/**
 * 接口 [新增定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47499) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/add`
 * @更新时间 `2024-05-29 16:46:20`
 */
export const postJobAdd = makeRequest<IPostJobAddReq, IPostJobAddRes, PostJobAddRequestConfig>(postJobAddRequestConfig)

/**
 * 接口 [查询定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47506) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/get`
 * @更新时间 `2024-05-29 16:46:21`
 */
export interface IGetJobGetReq {
  id: string
}

/**
 * 接口 [查询定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47506) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/get`
 * @更新时间 `2024-05-29 16:46:21`
 */
/**
 * 定时任务调度表-传输对象
 */
export interface IGetJobGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 任务名称
   */
  jobName?: string
  /**
   * 任务组名
   */
  jobGroup?: string
  /**
   * 决策流id
   */
  flowId?: string
  /**
   * cron执行表达式
   */
  cronExpression?: string
  /**
   * 数据表名
   */
  tableName?: string
  /**
   * 字段映射
   */
  mapping?: {}
  /**
   * 状态（1正常 0暂停）
   */
  status?: number
  /**
   * 备注信息
   */
  remark?: string
  /**
   * 应用ID
   */
  appId?: string
  /**
   * 是否全量扫描
   */
  fullScan?: number
  /**
   * 决策流Id列表
   */
  flowIds?: number[]
}

/**
 * 接口 [查询定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47506) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/get`
 * @更新时间 `2024-05-29 16:46:21`
 */
type GetJobGetRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/job/get', 'data', string, 'id', false>
>

/**
 * 接口 [查询定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47506) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/get`
 * @更新时间 `2024-05-29 16:46:21`
 */
const getJobGetRequestConfig: GetJobGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getJobGet',
}

/**
 * 接口 [查询定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/47506) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/get`
 * @更新时间 `2024-05-29 16:46:21`
 */
export const getJobGet = makeRequest<IGetJobGetReq, IGetJobGetRes, GetJobGetRequestConfig>(getJobGetRequestConfig)

/**
 * 接口 [修改定时任务状态↗](https://yapi.mcisaas.com/project/371/interface/api/47513) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modifyStatus`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobModifyStatusReq {
  /**
   * 状态（1正常 0暂停）
   */
  status: string
  id: string
}

/**
 * 接口 [修改定时任务状态↗](https://yapi.mcisaas.com/project/371/interface/api/47513) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modifyStatus`
 * @更新时间 `2024-05-29 16:46:20`
 */
export interface IPostJobModifyStatusRes {}

/**
 * 接口 [修改定时任务状态↗](https://yapi.mcisaas.com/project/371/interface/api/47513) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modifyStatus`
 * @更新时间 `2024-05-29 16:46:20`
 */
type PostJobModifyStatusRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/job/modifyStatus',
    'data',
    string,
    'status' | 'id',
    false
  >
>

/**
 * 接口 [修改定时任务状态↗](https://yapi.mcisaas.com/project/371/interface/api/47513) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modifyStatus`
 * @更新时间 `2024-05-29 16:46:20`
 */
const postJobModifyStatusRequestConfig: PostJobModifyStatusRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/modifyStatus',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: ['status', 'id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobModifyStatus',
}

/**
 * 接口 [修改定时任务状态↗](https://yapi.mcisaas.com/project/371/interface/api/47513) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/modifyStatus`
 * @更新时间 `2024-05-29 16:46:20`
 */
export const postJobModifyStatus = makeRequest<
  IPostJobModifyStatusReq,
  IPostJobModifyStatusRes,
  PostJobModifyStatusRequestConfig
>(postJobModifyStatusRequestConfig)

/**
 * 接口 [执行一次调度任务↗](https://yapi.mcisaas.com/project/371/interface/api/50271) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/runJobNow`
 * @更新时间 `2024-05-29 16:46:26`
 */
export interface IGetJobRunJobNowReq {
  id: string
}

/**
 * 接口 [执行一次调度任务↗](https://yapi.mcisaas.com/project/371/interface/api/50271) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/runJobNow`
 * @更新时间 `2024-05-29 16:46:26`
 */
export type IGetJobRunJobNowRes = boolean

/**
 * 接口 [执行一次调度任务↗](https://yapi.mcisaas.com/project/371/interface/api/50271) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/runJobNow`
 * @更新时间 `2024-05-29 16:46:26`
 */
type GetJobRunJobNowRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/job/runJobNow',
    'data',
    string,
    'id',
    false
  >
>

/**
 * 接口 [执行一次调度任务↗](https://yapi.mcisaas.com/project/371/interface/api/50271) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/runJobNow`
 * @更新时间 `2024-05-29 16:46:26`
 */
const getJobRunJobNowRequestConfig: GetJobRunJobNowRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/runJobNow',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: ['id'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getJobRunJobNow',
}

/**
 * 接口 [执行一次调度任务↗](https://yapi.mcisaas.com/project/371/interface/api/50271) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `GET /job/runJobNow`
 * @更新时间 `2024-05-29 16:46:26`
 */
export const getJobRunJobNow = makeRequest<IGetJobRunJobNowReq, IGetJobRunJobNowRes, GetJobRunJobNowRequestConfig>(
  getJobRunJobNowRequestConfig,
)

/**
 * 接口 [分页查询定时任务配置↗](https://yapi.mcisaas.com/project/371/interface/api/50439) 的 **请求类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/page`
 * @更新时间 `2024-05-29 16:46:26`
 */
export interface IPostJobPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  flowName?: string
}

/**
 * 接口 [分页查询定时任务配置↗](https://yapi.mcisaas.com/project/371/interface/api/50439) 的 **返回类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/page`
 * @更新时间 `2024-05-29 16:46:26`
 */
/**
 * 分页结果
 */
export interface IPostJobPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 任务名称
     */
    jobName?: string
    /**
     * 任务组名
     */
    jobGroup?: string
    /**
     * 决策流id
     */
    flowId?: string
    /**
     * cron执行表达式
     */
    cronExpression?: string
    /**
     * 数据表名
     */
    tableName?: string
    /**
     * 字段映射
     */
    mapping?: {}
    /**
     * 状态（1正常 0暂停）
     */
    status?: number
    /**
     * 备注信息
     */
    remark?: string
    /**
     * 应用ID
     */
    appId?: string
    /**
     * 是否全量扫描
     */
    fullScan?: number
    /**
     * 决策流Id列表
     */
    flowIds?: number[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [分页查询定时任务配置↗](https://yapi.mcisaas.com/project/371/interface/api/50439) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/page`
 * @更新时间 `2024-05-29 16:46:26`
 */
type PostJobPageRequestConfig = Readonly<
  RequestConfig<'https://yapi.mcisaas.com/mock/371', 'http://127.0.0.1', '', '/job/page', 'data', string, string, false>
>

/**
 * 接口 [分页查询定时任务配置↗](https://yapi.mcisaas.com/project/371/interface/api/50439) 的 **请求配置**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/page`
 * @更新时间 `2024-05-29 16:46:26`
 */
const postJobPageRequestConfig: PostJobPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_16,
  devUrl: devUrl_0_1_0_16,
  prodUrl: prodUrl_0_1_0_16,
  path: '/job/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_16,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobPage',
}

/**
 * 接口 [分页查询定时任务配置↗](https://yapi.mcisaas.com/project/371/interface/api/50439) 的 **请求函数**
 *
 * @分类 [定时任务调度表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6582)
 * @标签 `定时任务调度表`
 * @请求头 `POST /job/page`
 * @更新时间 `2024-05-29 16:46:26`
 */
export const postJobPage = makeRequest<IPostJobPageReq, IPostJobPageRes, PostJobPageRequestConfig>(
  postJobPageRequestConfig,
)

const mockUrl_0_1_0_17 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_17 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_17 = '' as any
const dataKey_0_1_0_17 = 'data' as any

/**
 * 接口 [报告配置查询↗](https://yapi.mcisaas.com/project/371/interface/api/47611) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
export interface IPostReportConfigGetReq {}

/**
 * 接口 [报告配置查询↗](https://yapi.mcisaas.com/project/371/interface/api/47611) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
/**
 * 报告配置-传输对象
 */
export interface IPostReportConfigGetRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 报告名称
   */
  reportName?: string
  /**
   * 决策流id列表
   */
  flowIds?: number[]
  /**
   * 请求变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}

/**
 * 接口 [报告配置查询↗](https://yapi.mcisaas.com/project/371/interface/api/47611) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
type PostReportConfigGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/get',
    'data',
    string,
    string,
    true
  >
>

/**
 * 接口 [报告配置查询↗](https://yapi.mcisaas.com/project/371/interface/api/47611) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
const postReportConfigGetRequestConfig: PostReportConfigGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/get',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: [],
  requestDataOptional: true,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigGet',
}

/**
 * 接口 [报告配置查询↗](https://yapi.mcisaas.com/project/371/interface/api/47611) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
export const postReportConfigGet = makeRequest<
  IPostReportConfigGetReq,
  IPostReportConfigGetRes,
  PostReportConfigGetRequestConfig
>(postReportConfigGetRequestConfig)

/**
 * 接口 [新增报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/47618) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/add`
 * @更新时间 `2024-05-29 16:46:22`
 */
/**
 * 报告配置-传输对象
 */
export interface IPostReportConfigAddReq {
  /**
   * 报告名称
   */
  reportName?: string
  /**
   * 表名
   */
  tableName: string
  /**
   * 使用字段名
   */
  usingField?: string
  /**
   * 决策流id列表
   */
  flowIds?: string[]
}

/**
 * 接口 [新增报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/47618) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/add`
 * @更新时间 `2024-05-29 16:46:22`
 */
export type IPostReportConfigAddRes = boolean

/**
 * 接口 [新增报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/47618) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/add`
 * @更新时间 `2024-05-29 16:46:22`
 */
type PostReportConfigAddRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/add',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [新增报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/47618) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/add`
 * @更新时间 `2024-05-29 16:46:22`
 */
const postReportConfigAddRequestConfig: PostReportConfigAddRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/add',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigAdd',
}

/**
 * 接口 [新增报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/47618) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/add`
 * @更新时间 `2024-05-29 16:46:22`
 */
export const postReportConfigAdd = makeRequest<
  IPostReportConfigAddReq,
  IPostReportConfigAddRes,
  PostReportConfigAddRequestConfig
>(postReportConfigAddRequestConfig)

/**
 * 接口 [根据Id查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48311) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/getById`
 * @更新时间 `2024-05-29 16:46:22`
 */
export interface IPostReportConfigGetByIdReq {
  configId: string
}

/**
 * 接口 [根据Id查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48311) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/getById`
 * @更新时间 `2024-05-29 16:46:22`
 */
/**
 * 报告配置-传输对象
 */
export interface IPostReportConfigGetByIdRes {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 报告名称
   */
  reportName?: string
  /**
   * 决策流id列表
   */
  flowIds?: number[]
  /**
   * 请求变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
}

/**
 * 接口 [根据Id查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48311) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/getById`
 * @更新时间 `2024-05-29 16:46:22`
 */
type PostReportConfigGetByIdRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/getById',
    'data',
    string,
    'configId',
    false
  >
>

/**
 * 接口 [根据Id查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48311) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/getById`
 * @更新时间 `2024-05-29 16:46:22`
 */
const postReportConfigGetByIdRequestConfig: PostReportConfigGetByIdRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/getById',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: ['configId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigGetById',
}

/**
 * 接口 [根据Id查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48311) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/getById`
 * @更新时间 `2024-05-29 16:46:22`
 */
export const postReportConfigGetById = makeRequest<
  IPostReportConfigGetByIdReq,
  IPostReportConfigGetByIdRes,
  PostReportConfigGetByIdRequestConfig
>(postReportConfigGetByIdRequestConfig)

/**
 * 接口 [分页查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48332) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/query`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostReportConfigQueryReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  /**
   * 报告名称
   */
  reportName?: string
  /**
   * 表名
   */
  tableName?: string
}

/**
 * 接口 [分页查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48332) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/query`
 * @更新时间 `2024-05-29 16:46:23`
 */
/**
 * 分页结果
 */
export interface IPostReportConfigQueryRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 报告名称
     */
    reportName?: string
    /**
     * 表名
     */
    tableName?: string
    /**
     * 决策流id列表
     */
    flowIds?: number[]
    /**
     * 决策流名称列表
     */
    flowNames?: string[]
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [分页查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48332) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/query`
 * @更新时间 `2024-05-29 16:46:23`
 */
type PostReportConfigQueryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/query',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [分页查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48332) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/query`
 * @更新时间 `2024-05-29 16:46:23`
 */
const postReportConfigQueryRequestConfig: PostReportConfigQueryRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/query',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigQuery',
}

/**
 * 接口 [分页查询报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48332) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/query`
 * @更新时间 `2024-05-29 16:46:23`
 */
export const postReportConfigQuery = makeRequest<
  IPostReportConfigQueryReq,
  IPostReportConfigQueryRes,
  PostReportConfigQueryRequestConfig
>(postReportConfigQueryRequestConfig)

/**
 * 接口 [根据名称(可以不传)查询报告配置(下拉框)↗](https://yapi.mcisaas.com/project/371/interface/api/48339) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/list`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostReportConfigListReq {
  name?: string
}

/**
 * 接口 [根据名称(可以不传)查询报告配置(下拉框)↗](https://yapi.mcisaas.com/project/371/interface/api/48339) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/list`
 * @更新时间 `2024-05-29 16:46:23`
 */
export type IPostReportConfigListRes = {
  /**
   * 主键ID
   */
  id?: string
  /**
   * 报告名称
   */
  reportName?: string
  /**
   * 表名
   */
  tableName?: string
  /**
   * 决策流id列表
   */
  flowIds?: number[]
  /**
   * 决策流名称列表
   */
  flowNames?: string[]
}[]

/**
 * 接口 [根据名称(可以不传)查询报告配置(下拉框)↗](https://yapi.mcisaas.com/project/371/interface/api/48339) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/list`
 * @更新时间 `2024-05-29 16:46:23`
 */
type PostReportConfigListRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/list',
    'data',
    string,
    'name',
    false
  >
>

/**
 * 接口 [根据名称(可以不传)查询报告配置(下拉框)↗](https://yapi.mcisaas.com/project/371/interface/api/48339) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/list`
 * @更新时间 `2024-05-29 16:46:23`
 */
const postReportConfigListRequestConfig: PostReportConfigListRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/list',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: ['name'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigList',
}

/**
 * 接口 [根据名称(可以不传)查询报告配置(下拉框)↗](https://yapi.mcisaas.com/project/371/interface/api/48339) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/list`
 * @更新时间 `2024-05-29 16:46:23`
 */
export const postReportConfigList = makeRequest<
  IPostReportConfigListReq,
  IPostReportConfigListRes,
  PostReportConfigListRequestConfig
>(postReportConfigListRequestConfig)

/**
 * 接口 [根据Id删除报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48346) 的 **请求类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/delete`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostReportConfigDeleteReq {
  configId: string
}

/**
 * 接口 [根据Id删除报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48346) 的 **返回类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/delete`
 * @更新时间 `2024-05-29 16:46:23`
 */
export interface IPostReportConfigDeleteRes {}

/**
 * 接口 [根据Id删除报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48346) 的 **请求配置的类型**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/delete`
 * @更新时间 `2024-05-29 16:46:23`
 */
type PostReportConfigDeleteRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report-config/delete',
    'data',
    string,
    'configId',
    false
  >
>

/**
 * 接口 [根据Id删除报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48346) 的 **请求配置**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/delete`
 * @更新时间 `2024-05-29 16:46:23`
 */
const postReportConfigDeleteRequestConfig: PostReportConfigDeleteRequestConfig = {
  mockUrl: mockUrl_0_1_0_17,
  devUrl: devUrl_0_1_0_17,
  prodUrl: prodUrl_0_1_0_17,
  path: '/report-config/delete',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.raw,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_17,
  paramNames: [],
  queryNames: ['configId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportConfigDelete',
}

/**
 * 接口 [根据Id删除报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/48346) 的 **请求函数**
 *
 * @分类 [报告配置↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6606)
 * @标签 `报告配置`
 * @请求头 `POST /report-config/delete`
 * @更新时间 `2024-05-29 16:46:23`
 */
export const postReportConfigDelete = makeRequest<
  IPostReportConfigDeleteReq,
  IPostReportConfigDeleteRes,
  PostReportConfigDeleteRequestConfig
>(postReportConfigDeleteRequestConfig)

const mockUrl_0_1_0_18 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_18 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_18 = '' as any
const dataKey_0_1_0_18 = 'data' as any

/**
 * 接口 [查询定时任务调度日志↗](https://yapi.mcisaas.com/project/371/interface/api/47681) 的 **请求类型**
 *
 * @分类 [定时任务调度日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6610)
 * @标签 `定时任务调度日志表`
 * @请求头 `POST /job-log/page`
 * @更新时间 `2024-05-29 16:46:21`
 */
export interface IPostJobLogPageReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  /**
   * 任务配置id
   */
  jobId: string
}

/**
 * 接口 [查询定时任务调度日志↗](https://yapi.mcisaas.com/project/371/interface/api/47681) 的 **返回类型**
 *
 * @分类 [定时任务调度日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6610)
 * @标签 `定时任务调度日志表`
 * @请求头 `POST /job-log/page`
 * @更新时间 `2024-05-29 16:46:21`
 */
/**
 * 分页结果
 */
export interface IPostJobLogPageRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 执行请求id
     */
    execId?: string
    /**
     * 执行规则id
     */
    flowId?: string
    /**
     * 开始执行时间
     */
    startTime?: string
    /**
     * 执行结束时间
     */
    endTime?: string
    /**
     * 执行状态（1成功 0失败）
     */
    status?: number
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询定时任务调度日志↗](https://yapi.mcisaas.com/project/371/interface/api/47681) 的 **请求配置的类型**
 *
 * @分类 [定时任务调度日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6610)
 * @标签 `定时任务调度日志表`
 * @请求头 `POST /job-log/page`
 * @更新时间 `2024-05-29 16:46:21`
 */
type PostJobLogPageRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/job-log/page',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询定时任务调度日志↗](https://yapi.mcisaas.com/project/371/interface/api/47681) 的 **请求配置**
 *
 * @分类 [定时任务调度日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6610)
 * @标签 `定时任务调度日志表`
 * @请求头 `POST /job-log/page`
 * @更新时间 `2024-05-29 16:46:21`
 */
const postJobLogPageRequestConfig: PostJobLogPageRequestConfig = {
  mockUrl: mockUrl_0_1_0_18,
  devUrl: devUrl_0_1_0_18,
  prodUrl: prodUrl_0_1_0_18,
  path: '/job-log/page',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_18,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postJobLogPage',
}

/**
 * 接口 [查询定时任务调度日志↗](https://yapi.mcisaas.com/project/371/interface/api/47681) 的 **请求函数**
 *
 * @分类 [定时任务调度日志表↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6610)
 * @标签 `定时任务调度日志表`
 * @请求头 `POST /job-log/page`
 * @更新时间 `2024-05-29 16:46:21`
 */
export const postJobLogPage = makeRequest<IPostJobLogPageReq, IPostJobLogPageRes, PostJobLogPageRequestConfig>(
  postJobLogPageRequestConfig,
)

const mockUrl_0_1_0_20 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_20 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_20 = '' as any
const dataKey_0_1_0_20 = 'data' as any

/**
 * 接口 [查询报告结果列表↗](https://yapi.mcisaas.com/project/371/interface/api/47807) 的 **请求类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `POST /report/query`
 * @更新时间 `2024-05-29 16:46:21`
 */
export interface IPostReportQueryReq {
  /**
   * 页码，从 1 开始
   */
  pageNo: number
  /**
   * 每页条数，最大值为 100
   */
  pageSize: number
  /**
   * 报告配置id
   */
  reportConfigId: string
  /**
   * 搜索列
   */
  searchColumn?: string
  /**
   * 搜索关键字
   */
  keywords?: string
}

/**
 * 接口 [查询报告结果列表↗](https://yapi.mcisaas.com/project/371/interface/api/47807) 的 **返回类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `POST /report/query`
 * @更新时间 `2024-05-29 16:46:21`
 */
/**
 * 分页结果
 */
export interface IPostReportQueryRes {
  /**
   * 数据
   */
  list?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 申请入参
     */
    params?: {}
    /**
     * 创建时间
     */
    createTime?: string
  }[]
  /**
   * 总量
   */
  total?: string
  /**
   * 每页多少条
   */
  pageSize?: string
  /**
   * 当前页码
   */
  currentPage?: string
  /**
   * 总页数
   */
  totalPages?: string
}

/**
 * 接口 [查询报告结果列表↗](https://yapi.mcisaas.com/project/371/interface/api/47807) 的 **请求配置的类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `POST /report/query`
 * @更新时间 `2024-05-29 16:46:21`
 */
type PostReportQueryRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report/query',
    'data',
    string,
    string,
    false
  >
>

/**
 * 接口 [查询报告结果列表↗](https://yapi.mcisaas.com/project/371/interface/api/47807) 的 **请求配置**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `POST /report/query`
 * @更新时间 `2024-05-29 16:46:21`
 */
const postReportQueryRequestConfig: PostReportQueryRequestConfig = {
  mockUrl: mockUrl_0_1_0_20,
  devUrl: devUrl_0_1_0_20,
  prodUrl: prodUrl_0_1_0_20,
  path: '/report/query',
  method: Method.POST,
  requestHeaders: {},
  requestBodyType: RequestBodyType.json,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_20,
  paramNames: [],
  queryNames: [],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'postReportQuery',
}

/**
 * 接口 [查询报告结果列表↗](https://yapi.mcisaas.com/project/371/interface/api/47807) 的 **请求函数**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `POST /report/query`
 * @更新时间 `2024-05-29 16:46:21`
 */
export const postReportQuery = makeRequest<IPostReportQueryReq, IPostReportQueryRes, PostReportQueryRequestConfig>(
  postReportQueryRequestConfig,
)

/**
 * 接口 [查询报告结果↗](https://yapi.mcisaas.com/project/371/interface/api/47814) 的 **请求类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `GET /report/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
export interface IGetReportGetReq {
  configId: string
  applyId: string
}

/**
 * 接口 [查询报告结果↗](https://yapi.mcisaas.com/project/371/interface/api/47814) 的 **返回类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `GET /report/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
export interface IGetReportGetRes {
  /**
   * 变量列表
   */
  variables?: {
    /**
     * 主键ID
     */
    id?: string
    /**
     * 流程id
     */
    flowId?: string
    /**
     * 对象id
     */
    objectId?: string
    /**
     * 对应的对象类型
     */
    objectType?: 'DATA_LOAD' | 'DATA_AGG' | 'MODEL' | 'NODE' | 'FLOW'
    /**
     * 字段名称
     */
    varName?: string
    /**
     * 字段中文名
     */
    varLabel?: string
    /**
     * 字段类型 0: 字符, 1: 整数, 2:浮点数
     */
    varType?: 'STRING' | 'INTEGER' | 'DECIMAL' | 'DATE_TIME' | 'BOOLEAN' | 'OBJECT' | 'LIST' | 'DATE' | 'ENUM'
    /**
     * 数据作用域 0: 请求，1: 赋值
     */
    scope?: 'REQUEST' | 'RESPONSE'
    /**
     * 初始值
     */
    initValue?: string
    /**
     * 枚举选项
     */
    options?: {
      key?: {}
      value?: {}
    }[]
  }[]
  /**
   * 入参
   */
  params?: {}
  /**
   * 决策流详情
   */
  flowDetails?: {
    /**
     * 决策流id
     */
    flowId?: string
    /**
     * 决策流名称
     */
    flowName?: string
    /**
     * 执行结果
     */
    execResult?: {}[]
  }[]
}

/**
 * 接口 [查询报告结果↗](https://yapi.mcisaas.com/project/371/interface/api/47814) 的 **请求配置的类型**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `GET /report/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
type GetReportGetRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/report/get',
    'data',
    string,
    'configId' | 'applyId',
    false
  >
>

/**
 * 接口 [查询报告结果↗](https://yapi.mcisaas.com/project/371/interface/api/47814) 的 **请求配置**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `GET /report/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
const getReportGetRequestConfig: GetReportGetRequestConfig = {
  mockUrl: mockUrl_0_1_0_20,
  devUrl: devUrl_0_1_0_20,
  prodUrl: prodUrl_0_1_0_20,
  path: '/report/get',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_20,
  paramNames: [],
  queryNames: ['configId', 'applyId'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getReportGet',
}

/**
 * 接口 [查询报告结果↗](https://yapi.mcisaas.com/project/371/interface/api/47814) 的 **请求函数**
 *
 * @分类 [报告↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6680)
 * @标签 `报告`
 * @请求头 `GET /report/get`
 * @更新时间 `2024-05-29 16:46:22`
 */
export const getReportGet = makeRequest<IGetReportGetReq, IGetReportGetRes, GetReportGetRequestConfig>(
  getReportGetRequestConfig,
)

const mockUrl_0_1_0_24 = 'https://yapi.mcisaas.com/mock/371' as any
const devUrl_0_1_0_24 = 'http://127.0.0.1' as any
const prodUrl_0_1_0_24 = '' as any
const dataKey_0_1_0_24 = 'data' as any

/**
 * 接口 [搜索企业列表↗](https://yapi.mcisaas.com/project/371/interface/api/52049) 的 **请求类型**
 *
 * @分类 [企业查询↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6924)
 * @标签 `企业查询`
 * @请求头 `GET /ent/queryEntList`
 * @更新时间 `2024-05-29 16:46:28`
 */
export interface IGetEntQueryEntListReq {
  keywords: string
}

/**
 * 接口 [搜索企业列表↗](https://yapi.mcisaas.com/project/371/interface/api/52049) 的 **返回类型**
 *
 * @分类 [企业查询↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6924)
 * @标签 `企业查询`
 * @请求头 `GET /ent/queryEntList`
 * @更新时间 `2024-05-29 16:46:28`
 */
export type IGetEntQueryEntListRes = {
  /**
   * DRC编号
   */
  drcNo?: string
  /**
   * 门店企业id
   */
  storeEntId?: string
  /**
   * 门店企业名称
   */
  storeEntName?: string
  /**
   * 门店企业编码
   */
  storeEntCode?: string
  /**
   * 门店名称
   */
  storeName?: string
  /**
   * 节点企业编码
   */
  ccaEntCode?: string
  /**
   * 节点企业名称
   */
  ccaEntName?: string
  /**
   * 节点企业品牌
   */
  ccaBrand?: string
  /**
   * 门店企业信用代码
   */
  storeEntCreditCode?: string
  /**
   * 节点企业信用代码
   */
  ccaEntCreditCode?: string
}[]

/**
 * 接口 [搜索企业列表↗](https://yapi.mcisaas.com/project/371/interface/api/52049) 的 **请求配置的类型**
 *
 * @分类 [企业查询↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6924)
 * @标签 `企业查询`
 * @请求头 `GET /ent/queryEntList`
 * @更新时间 `2024-05-29 16:46:28`
 */
type GetEntQueryEntListRequestConfig = Readonly<
  RequestConfig<
    'https://yapi.mcisaas.com/mock/371',
    'http://127.0.0.1',
    '',
    '/ent/queryEntList',
    'data',
    string,
    'keywords',
    false
  >
>

/**
 * 接口 [搜索企业列表↗](https://yapi.mcisaas.com/project/371/interface/api/52049) 的 **请求配置**
 *
 * @分类 [企业查询↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6924)
 * @标签 `企业查询`
 * @请求头 `GET /ent/queryEntList`
 * @更新时间 `2024-05-29 16:46:28`
 */
const getEntQueryEntListRequestConfig: GetEntQueryEntListRequestConfig = {
  mockUrl: mockUrl_0_1_0_24,
  devUrl: devUrl_0_1_0_24,
  prodUrl: prodUrl_0_1_0_24,
  path: '/ent/queryEntList',
  method: Method.GET,
  requestHeaders: {},
  requestBodyType: RequestBodyType.query,
  responseBodyType: ResponseBodyType.json,
  dataKey: dataKey_0_1_0_24,
  paramNames: [],
  queryNames: ['keywords'],
  requestDataOptional: false,
  requestDataJsonSchema: {},
  responseDataJsonSchema: {},
  requestFunctionName: 'getEntQueryEntList',
}

/**
 * 接口 [搜索企业列表↗](https://yapi.mcisaas.com/project/371/interface/api/52049) 的 **请求函数**
 *
 * @分类 [企业查询↗](https://yapi.mcisaas.com/project/371/interface/api/cat_6924)
 * @标签 `企业查询`
 * @请求头 `GET /ent/queryEntList`
 * @更新时间 `2024-05-29 16:46:28`
 */
export const getEntQueryEntList = makeRequest<
  IGetEntQueryEntListReq,
  IGetEntQueryEntListRes,
  GetEntQueryEntListRequestConfig
>(getEntQueryEntListRequestConfig)

/* prettier-ignore-end */
